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

Halla Rempt <ha...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/krita/commit/843f2e8f1 |hics/krita/commit/b2d8a1e2f
                   |5d9a9249393306fa1a1da382c14 |a830da088fa19c936d4facdbe37
                   |2e4d                        |6a1a

--- Comment #4 from Halla Rempt <ha...@valdyas.org> ---
Git commit b2d8a1e2fa830da088fa19c936d4facdbe376a1a by Halla Rempt, on behalf
of Agata Cacko.
Committed on 08/09/2021 at 07:31.
Pushed by rempt into branch 'krita/5.0'.

Fix previews of various local assistants

Before this commit, some assistants wouldn't handle a rotated canvas
correctly (the preview would bleed out of the local area), and the
previews behaviour was inconsistent between different assistants.
This commit fixes the previews and makes it consistent:
- both the static (depending only on the assistant) and dynamic
(depending on the mouse position) previews are always visible
- both previews are always limited to the local area
(except for the parallel ruler which doesn't have any static preview
except for the exact line that was drawn, which is fully visible
no matter the local area - it could be fixed at a later date
if it turns out to be a big issue).
(cherry picked from commit 843f2e8f15d9a9249393306fa1a1da382c142e4d)

M  +17   -18   plugins/assistants/Assistants/ParallelRulerAssistant.cc
M  +11   -8    plugins/assistants/Assistants/TwoPointAssistant.cc
M  +15   -16   plugins/assistants/Assistants/VanishingPointAssistant.cc

https://invent.kde.org/graphics/krita/commit/b2d8a1e2fa830da088fa19c936d4facdbe376a1a

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

Reply via email to