Skip to content

Commit

Permalink
Merge branch 'main' into crop-and-mask-path
Browse files Browse the repository at this point in the history
  • Loading branch information
ikbendewilliam authored Dec 30, 2024
2 parents 5a86374 + 92dc1fa commit b7286c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/calculators/calculate_on_crop_params.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ OnCropParams caclulateOnCropParams({
cropSizeWidth = cropSizeMax;
cropSizeHeight = cropSizeWidth / aspectRatio;
} else {
cropSizeHeight = cropSizeMax;
cropSizeHeight = cropSizeMax / aspectRatio;
cropSizeWidth = cropSizeHeight * aspectRatio;
}
return OnCropParams(
Expand Down

0 comments on commit b7286c5

Please sign in to comment.