Add kineticScrollingMaxSpeed setting
This commit is contained in:
parent
9dc0688557
commit
90a7a3a6cf
|
@ -240,6 +240,7 @@ class UISettings(JSONDataFile):
|
|||
"hideProfileChangeEvents": True,
|
||||
"hideMembershipEvents": False,
|
||||
"hideUnknownEvents": True,
|
||||
"kineticScrollingMaxSpeed": 2500,
|
||||
"markRoomReadMsecDelay": 200,
|
||||
"maxMessageCharactersPerLine": 65,
|
||||
"ownMessagesOnLeftAboveWidth": 895,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user