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++

Don't compress touch events matched to shortcuts

Carsten Hartenfels7da1959be439
diff --git a/libs/ui/input/kis_input_manager.cpp b/libs/ui/input/kis_input_manager.cpp
index 3279e24ae6..7976ef0286 100644
--- a/libs/ui/input/kis_input_manager.cpp
+++ b/libs/ui/input/kis_input_manager.cpp
@@ -947,13 +947,9 @@ bool KisInputManager::handleTouchUpdate(QTouchEvent *touchEvent)
}
} else {
KisAbstractInputAction::setInputManager(this);
- if (d->touchHasBlockedPressEvents) {
- return compressMoveEventCommon(touchEvent);
- } else {
- bool retval = d->matcher.touchUpdateEvent(touchEvent);
- d->touchHasBlockedPressEvents = retval;
- return retval;
- }
+ bool retval = d->matcher.touchUpdateEvent(touchEvent);
+ d->touchHasBlockedPressEvents = retval;
+ return retval;
}
}