diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-10 00:27:18 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-10 00:27:18 +1000 |
| commit | eff13f2830bf48fc3a9283565d81cbec284465cd (patch) | |
| tree | 757b0cf87c409fc82d736308209c71d7160fda7b /widgets | |
| parent | internal: fix scrolling for high res devices (diff) | |
| download | caelestia-shell-eff13f2830bf48fc3a9283565d81cbec284465cd.tar.gz caelestia-shell-eff13f2830bf48fc3a9283565d81cbec284465cd.tar.bz2 caelestia-shell-eff13f2830bf48fc3a9283565d81cbec284465cd.zip | |
internal: scroll fix part 2
Closes #202
Diffstat (limited to 'widgets')
| -rw-r--r-- | widgets/StyledListView.qml | 17 |
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 + } + } +} |