Diffusion Krita 9b45d78661e0

Fix Crop tool loosing aspect ratio on move

Authored by vanyossi on Oct 4 2019, 6:46 AM.

Description

Fix Crop tool loosing aspect ratio on move

Previously there was no check for boundaries after the new
rect position is calculated. Before applying any offset on
move drag we check we no longer go ouside of the
image bounds.

For aspect ratio we keep aspect ratio growing into the
image instead of outwards getting some weird behaviour

BUG:343586

Details

Committed
vanyossiOct 4 2019, 4:25 PM
Parents
R37:af2eea70e83e: Try to fix building ext_jpeg on Linux
Branches
Unknown
Tags
Unknown