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,
switch(gesture) {
case KisShortcutConfiguration::RotateGesture:
case KisShortcutConfiguration::PinchGesture:
#ifndef Q_OS_MACOS
case KisShortcutConfiguration::ZoomAndRotateGesture:
#endif
shortcut->setMinimumTouchPoints(2);
shortcut->setMaximumTouchPoints(2);
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