Skip to content

crop tool can resize the canvas or crop all layers

Daniel Doran requested to merge giantblargg/krita:crop_or_resize into master

Bug 393113 asked for a way to use the crop tool to crop the image without cropping the individual layers.

I've implemented this as a checkbox in the crop panel controls if the crop should crop all layers(Old Behavior; Default) or not. The checkbox is only enabled when cropping the entire image. (It is disabled for cropping a single layer)

I was unsure about the placement of the checkbox or what I should label it, but that could be changed very easily.

Formalities Checklist

  • I confirmed this builds.
  • I confirmed Krita ran and the relevant functions work.
  • I made sure my commits build individually and have good descriptions as per KDE guidelines.
  • I made sure my code conforms to the standards set in the HACKING file.
  • I can confirm the code is licensed and attributed appropriately, and that unattributed code is mine, as per KDE Licensing Policy.

BUG: 393113

Merge request reports