Skip to content

Commit

Permalink
fix(Trimmer): Aspect Ratio
Browse files Browse the repository at this point in the history
Changed Aspect Ratio to don't scale images with incorrect dimensions
  • Loading branch information
Shahen Hovhannisyan committed Jun 9, 2017
1 parent bd04819 commit b52c1d3
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -435,6 +435,7 @@ - (void)addFrames
CGImageRelease(halfWayImage);
dispatch_async(dispatch_get_main_queue(), ^{
UIImageView *imageView = (UIImageView *)[self.frameView viewWithTag:i];
[imageView setContentMode:UIViewContentModeScaleAspectFill];
[imageView setImage:videoScreen];

});
Expand Down

0 comments on commit b52c1d3

Please sign in to comment.