summaryrefslogtreecommitdiff
path: root/widgets/StyledListView.qml
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-10 00:27:18 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-07-10 00:27:18 +1000
commiteff13f2830bf48fc3a9283565d81cbec284465cd (patch)
tree757b0cf87c409fc82d736308209c71d7160fda7b /widgets/StyledListView.qml
parentinternal: fix scrolling for high res devices (diff)
downloadcaelestia-shell-eff13f2830bf48fc3a9283565d81cbec284465cd.tar.gz
caelestia-shell-eff13f2830bf48fc3a9283565d81cbec284465cd.tar.bz2
caelestia-shell-eff13f2830bf48fc3a9283565d81cbec284465cd.zip
internal: scroll fix part 2
Closes #202
Diffstat (limited to 'widgets/StyledListView.qml')
-rw-r--r--widgets/StyledListView.qml17
1 files changed, 17 insertions, 0 deletions
diff --git a/widgets/StyledListView.qml b/widgets/StyledListView.qml
new file mode 100644
index 0000000..bb004fb
--- /dev/null
+++ b/widgets/StyledListView.qml
@@ -0,0 +1,17 @@
+import "root:/config"
+import QtQuick
+
+ListView {
+ id: root
+
+ maximumFlickVelocity: 3000
+
+ rebound: Transition {
+ NumberAnimation {
+ properties: "x,y"
+ duration: Appearance.anim.durations.normal
+ easing.type: Easing.BezierSpline
+ easing.bezierCurve: Appearance.anim.curves.standard
+ }
+ }
+}