Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix assistant preview not instantly updating when toggled

Luna Lovecraft2755e8e0effc
diff --git a/libs/ui/kis_painting_assistants_decoration.cpp b/libs/ui/kis_painting_assistants_decoration.cpp
index 5eb9cdea9e..09e659b6db 100644
--- a/libs/ui/kis_painting_assistants_decoration.cpp
+++ b/libs/ui/kis_painting_assistants_decoration.cpp
@@ -491,6 +491,7 @@ void KisPaintingAssistantsDecoration::toggleOutlineVisible()
{
// "outline" means assistant preview (line that depends on the mouse cursor)
setOutlineVisible(!outlineVisibility());
+ uncache();
}
QColor KisPaintingAssistantsDecoration::globalAssistantsColor()