Browse Source

Lower scroll speed (#10584)

* Fix for #10574
* This will affect everywhere which uses the QGCFlickable base control. This is the majority of everywhere but may be mission in some places. If fast scrolling is seen in specific spot it needs to changes to use QGCFlickable instead of Flickable.
QGC4.4
Don Gagne 2 years ago committed by GitHub
parent
commit
f882c570f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/QmlControls/QGCFlickable.qml

10
src/QmlControls/QGCFlickable.qml

@ -1,12 +1,14 @@ @@ -1,12 +1,14 @@
import QtQuick 2.3
import QGroundControl.Palette 1.0
import QGroundControl.Palette 1.0
import QGroundControl.ScreenTools 1.0
/// QGC version of Flickable control that shows horizontal/vertial scroll indicators
Flickable {
id: root
boundsBehavior: Flickable.StopAtBounds
clip: true
id: root
boundsBehavior: Flickable.StopAtBounds
clip: true
maximumFlickVelocity: (ScreenTools.realPixelDensity * 25.4) * 8 // About two inches per second
property color indicatorColor: qgcPal.text

Loading…
Cancel
Save