Skip to content

Commit

Permalink
Update FastttCamera.m
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-yan-yu committed Jun 30, 2021
1 parent e22e0b8 commit ad90bd3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions FastttCamera/FastttCamera.m
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,10 @@ - (void)_processImage:(UIImage *)image withCropRect:(CGRect)cropRect maxDimensio
[capturedImage scaleToMaxDimension:maxDimension
withCallback:scaleCallback];
} else if (fromCamera && self.scalesImage) {
[capturedImage scaleToSize:self.view.bounds.size
withCallback:scaleCallback];
dispatch_async(dispatch_get_main_queue(), ^(void) {
//Run UI Updates
[capturedImage scaleToSize:self.view.bounds.size withCallback:scaleCallback];
});
}

if (fromCamera && !self.isCapturingImage) {
Expand Down

0 comments on commit ad90bd3

Please sign in to comment.