Add kineticScrollingMaxSpeed setting
This commit is contained in:
@@ -14,7 +14,7 @@ GridView {
|
||||
preferredHighlightBegin: height / 2 - currentItemHeight / 2
|
||||
preferredHighlightEnd: height / 2 + currentItemHeight / 2
|
||||
|
||||
maximumFlickVelocity: 4000
|
||||
maximumFlickVelocity: window.settings.kineticScrollingMaxSpeed
|
||||
|
||||
|
||||
highlight: Rectangle {
|
||||
|
@@ -56,7 +56,7 @@ MouseArea {
|
||||
Binding {
|
||||
target: flickable
|
||||
property: "maximumFlickVelocity"
|
||||
value: mouseArea.enabled ? 0 : 4000.0
|
||||
value: mouseArea.enabled ? 0 : window.settings.kineticScrollingMaxSpeed
|
||||
}
|
||||
|
||||
Binding {
|
||||
|
@@ -15,7 +15,7 @@ ListView {
|
||||
preferredHighlightBegin: height / 2 - currentItemHeight / 2
|
||||
preferredHighlightEnd: height / 2 + currentItemHeight / 2
|
||||
|
||||
maximumFlickVelocity: 4000
|
||||
maximumFlickVelocity: window.settings.kineticScrollingMaxSpeed
|
||||
|
||||
|
||||
highlight: Rectangle {
|
||||
|
Reference in New Issue
Block a user