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 logic of action suppression on Android

Dmitry Kazakoveddc67f4886c
diff --git a/libs/ui/input/kis_shortcut_matcher.cpp b/libs/ui/input/kis_shortcut_matcher.cpp
index 878867f2a0..b852ba4f92 100644
--- a/libs/ui/input/kis_shortcut_matcher.cpp
+++ b/libs/ui/input/kis_shortcut_matcher.cpp
@@ -183,7 +183,7 @@ public:
return suppressAllActions || !cursorEntered;
#else
// when S-pen is not pointing the canvas, actions on canvas are disabled, till it points back to canvas.
- return false;
+ return suppressAllActions;
#endif
}