https://bugs.kde.org/show_bug.cgi?id=423830

Lynx3d <lynx.mw+...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/krita/commit/2eca9c48f
                   |                            |d3acf94b9b09430f0ecd33a1551
                   |                            |c339

--- Comment #2 from Lynx3d <lynx.mw+...@gmail.com> ---
Git commit 2eca9c48fd3acf94b9b09430f0ecd33a1551c339 by Mathias Wein.
Committed on 03/06/2022 at 13:11.
Pushed by mwein into branch 'master'.

Fix initial mirror axis positions

There is some redundancy with KisImage storing the relative position
of mirror axes (required by resource snapshots, but why relative?),
and KisDocument the absolute positions as part of the display settings.
Their default initializaion did not match though.

Creating/opening another document with default mirror settings while
another document was open would either pick the default initialized
absolute or relative position, depending on whether the current settings
are default or not.

Now KisDocument properly initializes its mirror config, and is also
responsible for keeping the image property in sync.

M  +8    -0    libs/ui/KisDocument.cpp
M  +10   -10   libs/ui/canvas/KisMirrorAxisConfig.cpp
M  +10   -10   libs/ui/canvas/KisMirrorAxisConfig.h
M  +4    -10   libs/ui/canvas/kis_mirror_axis.cpp

https://invent.kde.org/graphics/krita/commit/2eca9c48fd3acf94b9b09430f0ecd33a1551c339

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to