Skip to content

Commit

Permalink
Lower scroll speed (mavlink#10584)
Browse files Browse the repository at this point in the history
* Fix for mavlink#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.
  • Loading branch information
DonLakeFlyer committed Mar 13, 2023
1 parent 0693917 commit 21e6054
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/QmlControls/QGCFlickable.qml
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 21e6054

Please sign in to comment.