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:
@@ -29,6 +29,7 @@ HPage {
|
||||
|
||||
HKineticScrollingDisabler {
|
||||
flickable: flickable
|
||||
anchors.fill: flickable
|
||||
width: enabled ? flickable.width : 0
|
||||
height: enabled ? flickable.height : 0
|
||||
}
|
||||
}
|
||||
|
@@ -119,6 +119,7 @@ GridView {
|
||||
|
||||
HKineticScrollingDisabler {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
width: enabled ? parent.width : 0
|
||||
height: enabled ? parent.height : 0
|
||||
}
|
||||
}
|
||||
|
@@ -2,7 +2,6 @@
|
||||
|
||||
import QtQuick 2.12
|
||||
|
||||
// MouseArea component to disable kinetic scrolling
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
enabled: ! window.settings.enableKineticScrolling
|
||||
|
@@ -120,6 +120,7 @@ ListView {
|
||||
|
||||
HKineticScrollingDisabler {
|
||||
id: mouseArea
|
||||
anchors.fill: parent
|
||||
width: enabled ? parent.width : 0
|
||||
height: enabled ? parent.height : 0
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user