Browse Source

Fix opening QML based settings is twitchy and unreliable on Windows touch (Surface Pro-like) devices

QGC4.4
Nate Weibley 9 years ago
parent
commit
495dbb6c37
  1. 12
      src/ui/MainWindowLeftPanel.qml

12
src/ui/MainWindowLeftPanel.qml

@ -114,7 +114,8 @@ Item { @@ -114,7 +114,8 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: {
mainWindow.hideLeftMenu()
if (!__animateShowDialog.running)
mainWindow.hideLeftMenu()
}
}
}
@ -264,7 +265,8 @@ Item { @@ -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 { @@ -311,8 +313,10 @@ Item {
MouseArea {
anchors.fill: parent
onClicked: {
__rightPanel.source = ""
mainWindow.hideLeftMenu()
if (!__animateShowDialog.running) {
__rightPanel.source = ""
mainWindow.hideLeftMenu()
}
}
}

Loading…
Cancel
Save