Summary: | Discrete Canvas Rotation no longer snaps resulting angle to 15deg increments | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | ZeroFrost <zerofrost.pl> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alvin |
Priority: | NOR | Keywords: | regression |
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/64af6556f0644bbc6da06933f3b4aaeeb0d2fd66 | Version Fixed In: | |
Sentry Crash Report: |
Description
ZeroFrost
2023-07-31 12:15:31 UTC
Probably a regression from https://invent.kde.org/graphics/krita/-/merge_requests/1779/diffs#a1740771a8a56ad3f4926de2592957784a49ffb6_126_135 A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1880 Git commit d378f1b64cdeca767e616c896c5626864013f94a by Alvin Wong, on behalf of Maciej Jesionowski. Committed on 02/08/2023 at 12:24. Pushed by alvinwong into branch 'master'. Snap to exact 15 degree increments when using discrete rotate I missed this behavior when working on !1779. Currently the discrete rotation will simply add a 15 degree increment to the canvas rotation. Instead, it should first snap to the nearest multiple of 15 degrees. I have verified the behavior on Windows 11. If accepted, this should be cherry-picked to `krita/5.2` please. M +14 -6 libs/ui/input/kis_rotate_canvas_action.cpp https://invent.kde.org/graphics/krita/-/commit/d378f1b64cdeca767e616c896c5626864013f94a Git commit 64af6556f0644bbc6da06933f3b4aaeeb0d2fd66 by Alvin Wong, on behalf of Maciej Jesionowski. Committed on 02/08/2023 at 12:26. Pushed by alvinwong into branch 'krita/5.2'. Snap to exact 15 degree increments when using discrete rotate I missed this behavior when working on !1779. Currently the discrete rotation will simply add a 15 degree increment to the canvas rotation. Instead, it should first snap to the nearest multiple of 15 degrees. I have verified the behavior on Windows 11. If accepted, this should be cherry-picked to `krita/5.2` please. (cherry picked from commit d378f1b64cdeca767e616c896c5626864013f94a) M +14 -6 libs/ui/input/kis_rotate_canvas_action.cpp https://invent.kde.org/graphics/krita/-/commit/64af6556f0644bbc6da06933f3b4aaeeb0d2fd66 |