mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow faster scrolling in the dive list
This increases the rather conservative value for the maximum velocity of the divelist to scroll at max 5 screens per second, meaning it's about 4 times faster. I've picked this value after a bit of testing, it can surely be tweaked, but feels nicer already. Signed-off-by: Sebastian Kügler <sebas@kde.org>
This commit is contained in:
parent
f747abaeb2
commit
8664925e20
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ MobileComponents.Page {
|
|||
currentIndex: -1
|
||||
delegate: diveDelegate
|
||||
boundsBehavior: Flickable.StopAtBounds
|
||||
maximumFlickVelocity: parent.height * 5
|
||||
cacheBuffer: parent.height * 5
|
||||
//highlight: Rectangle { color: MobileComponents.Theme.highlightColor; width: MobileComponents.Units.smallSpacing }
|
||||
focus: true
|
||||
clip: true
|
||||
|
|
Loading…
Add table
Reference in a new issue