mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-04-11 15:15:51 +00:00
In addition to adding the action, this commit also makes the `did_change_rect()` method take in an optional rect, which represents the new rect position. By default it is the same as `rect()`. When we are cropping an image, we don't want to move the whole cropped section to the top-left of the original image in the ImageEditor widget, so this allows us to keep the cropped image's position fixed.
15 KiB
15 KiB