adjust scrolling speed

This commit is contained in:
end-4
2025-08-07 23:13:07 +07:00
parent a31733e2db
commit 7013b459a3
4 changed files with 7 additions and 8 deletions
@@ -266,7 +266,6 @@ Singleton {
easing.bezierCurve: root.animation.elementMoveFast.bezierCurve easing.bezierCurve: root.animation.elementMoveFast.bezierCurve
}} }}
} }
property QtObject clickBounce: QtObject { property QtObject clickBounce: QtObject {
property int duration: 200 property int duration: 200
property int type: Easing.BezierSpline property int type: Easing.BezierSpline
@@ -279,7 +278,7 @@ Singleton {
}} }}
} }
property QtObject scroll: QtObject { property QtObject scroll: QtObject {
property int duration: 400 property int duration: 200
property int type: Easing.BezierSpline property int type: Easing.BezierSpline
property list<real> bezierCurve: animationCurves.standardDecel property list<real> bezierCurve: animationCurves.standardDecel
} }
@@ -184,8 +184,8 @@ Singleton {
property JsonObject interactions: JsonObject { property JsonObject interactions: JsonObject {
property JsonObject scrolling: JsonObject { property JsonObject scrolling: JsonObject {
property int mouseScrollDeltaThreshold: 120 // delta >= this then it gets detected as mouse scroll rather than touchpad property int mouseScrollDeltaThreshold: 120 // delta >= this then it gets detected as mouse scroll rather than touchpad
property int mouseScrollFactor: 50 property int mouseScrollFactor: 120
property int touchpadScrollFactor: 100 property int touchpadScrollFactor: 450
} }
} }
@@ -282,8 +282,8 @@ Inline w/ backslash and round brackets \\(e^{i\\pi} + 1 = 0\\)
spacing: 10 spacing: 10
popin: false popin: false
touchpadScrollFactor: 600 touchpadScrollFactor: Config.options.interactions.scrolling.touchpadScrollFactor * 1.4
mouseScrollFactor: 200 mouseScrollFactor: Config.options.interactions.scrolling.mouseScrollFactor * 1.4
property int lastResponseLength: 0 property int lastResponseLength: 0
@@ -137,8 +137,8 @@ Item {
anchors.fill: parent anchors.fill: parent
spacing: 10 spacing: 10
touchpadScrollFactor: 600 touchpadScrollFactor: Config.options.interactions.scrolling.touchpadScrollFactor * 1.4
mouseScrollFactor: 200 mouseScrollFactor: Config.options.interactions.scrolling.mouseScrollFactor * 1.4
property int lastResponseLength: 0 property int lastResponseLength: 0