From 495dbb6c37b9259c802a8739f544e6f976da931a Mon Sep 17 00:00:00 2001 From: Nate Weibley Date: Tue, 12 Apr 2016 16:20:15 -0400 Subject: [PATCH] Fix opening QML based settings is twitchy and unreliable on Windows touch (Surface Pro-like) devices --- src/ui/MainWindowLeftPanel.qml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/ui/MainWindowLeftPanel.qml b/src/ui/MainWindowLeftPanel.qml index e3a5645..1ba07a0 100644 --- a/src/ui/MainWindowLeftPanel.qml +++ b/src/ui/MainWindowLeftPanel.qml @@ -114,7 +114,8 @@ Item { MouseArea { anchors.fill: parent onClicked: { - mainWindow.hideLeftMenu() + if (!__animateShowDialog.running) + mainWindow.hideLeftMenu() } } } @@ -264,7 +265,8 @@ Item { anchors.right: parent.right height: toolBar.height onClicked: { - mainWindow.hideLeftMenu() + if (!__animateShowDialog.running) + mainWindow.hideLeftMenu() } } @@ -311,8 +313,10 @@ Item { MouseArea { anchors.fill: parent onClicked: { - __rightPanel.source = "" - mainWindow.hideLeftMenu() + if (!__animateShowDialog.running) { + __rightPanel.source = "" + mainWindow.hideLeftMenu() + } } }