summary refs log tree commit diff
path: root/resources/qml/components
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-02-06 13:56:23 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-02-06 13:56:23 +0100
commitad4ea02547df07538946c9e8ad01a5d8a3106c32 (patch)
tree5066cebe15b1f7996522c8be1ce328f3962eef79 /resources/qml/components
parentlint and avoid copy (diff)
downloadnheko-ad4ea02547df07538946c9e8ad01a5d8a3106c32.tar.xz
Add a reduced motion option
fixes #1350
Diffstat (limited to 'resources/qml/components')
-rw-r--r--resources/qml/components/AdaptiveLayout.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/components/AdaptiveLayout.qml b/resources/qml/components/AdaptiveLayout.qml

index a2148c06..5b20a7cf 100644 --- a/resources/qml/components/AdaptiveLayout.qml +++ b/resources/qml/components/AdaptiveLayout.qml
@@ -130,7 +130,7 @@ Container { orientation: ListView.Horizontal highlightRangeMode: ListView.StrictlyEnforceRange interactive: singlePageMode - highlightMoveDuration: container.singlePageMode ? 200 : 0 + highlightMoveDuration: (container.singlePageMode && !Settings.reducedMotion) ? 200 : 0 currentIndex: container.singlePageMode ? container.pageIndex : 0 boundsBehavior: Flickable.StopAtBounds }