Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 5c924880 authored by Ivan Yossi's avatar Ivan Yossi 👌

Fix mixed Zoom, Pan, Rotate on macOS

This should fix the action by avoiding setting the max/min
touch points letting NativeGesture take control on macOS.

BUG:410698
parent 8eeb94a6
...@@ -507,7 +507,9 @@ void KisInputManager::Private::addTouchShortcut(KisAbstractInputAction* action, ...@@ -507,7 +507,9 @@ void KisInputManager::Private::addTouchShortcut(KisAbstractInputAction* action,
switch(gesture) { switch(gesture) {
case KisShortcutConfiguration::RotateGesture: case KisShortcutConfiguration::RotateGesture:
case KisShortcutConfiguration::PinchGesture: case KisShortcutConfiguration::PinchGesture:
#ifndef Q_OS_MACOS
case KisShortcutConfiguration::ZoomAndRotateGesture: case KisShortcutConfiguration::ZoomAndRotateGesture:
#endif
shortcut->setMinimumTouchPoints(2); shortcut->setMinimumTouchPoints(2);
shortcut->setMaximumTouchPoints(2); shortcut->setMaximumTouchPoints(2);
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment