Skip to content

Commit

Permalink
fix: Scale should always be 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrLukeSmith committed Sep 15, 2023
1 parent 6f65408 commit 4453bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/morandi/crop_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def apply_crop(pixbuf, x_coord, y_coord, width, height, fill_col = 0xffffffff)
dest_height: copy_h,
offset_x: paste_x - offset_x,
offset_y: paste_y - offset_y,
scale_x: x_coord,
scale_y: y_coord,
scale_x: 1,
scale_y: 1,
interpolation_type: :hyper,
overall_alpha: 255
)
Expand Down

0 comments on commit 4453bc1

Please sign in to comment.