diff options
Diffstat (limited to 'src/controls/Private')
| -rw-r--r-- | src/controls/Private/ScrollBar.qml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/controls/Private/ScrollBar.qml b/src/controls/Private/ScrollBar.qml index 65ed51cfc..1734e4961 100644 --- a/src/controls/Private/ScrollBar.qml +++ b/src/controls/Private/ScrollBar.qml @@ -101,7 +101,8 @@ Item { onEntered: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) onExited: if (!pressed) __panel.activeControl = "none" onMouseXChanged: if (!pressed) __panel.activeControl = __panel.hitTest(mouseX, mouseY) - hoverEnabled: true + hoverEnabled: !Settings.hasTouchScreen + enabled: !Settings.hasTouchScreen // TODO: touch on desktop? property var pressedX property var pressedY |
