mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-05-16 08:08:26 +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.
32 KiB
32 KiB