Diffusion Krita 8d032ed4bd01

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
(cherry picked from commit 9b45d78661e01f54f5bd78ae2233407ee79d0ea3)

Details

Committed
remptOct 9 2019, 8:40 AM
Parents
R37:16f3e98be3f2: Fix Rec2020 display format
Branches
Unknown
Tags
Unknown