Fix cursor shape over text fields/areas

Fix only applies if kinetic scrolling is enabled, need WheelHandler (Qt
5.14+) otherwise
This commit is contained in:
miruka
2020-06-05 01:54:42 -04:00
parent b81dea9bc2
commit cfee1b1e4b
6 changed files with 12 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ HPage {
HKineticScrollingDisabler {
flickable: flickable
anchors.fill: flickable
width: enabled ? flickable.width : 0
height: enabled ? flickable.height : 0
}
}

View File

@@ -119,6 +119,7 @@ GridView {
HKineticScrollingDisabler {
id: mouseArea
anchors.fill: parent
width: enabled ? parent.width : 0
height: enabled ? parent.height : 0
}
}

View File

@@ -2,7 +2,6 @@
import QtQuick 2.12
// MouseArea component to disable kinetic scrolling
MouseArea {
id: mouseArea
enabled: ! window.settings.enableKineticScrolling

View File

@@ -120,6 +120,7 @@ ListView {
HKineticScrollingDisabler {
id: mouseArea
anchors.fill: parent
width: enabled ? parent.width : 0
height: enabled ? parent.height : 0
}
}