Slow down the reveal effect a little on background changes

This commit is contained in:
David Heinemeier Hansson committed 2026-10-09 11:21:23 +02:00
1 parent be052339d8
commit 7f95505dec
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -274,7 +274,7 @@ Item {
property: "revealProgress"
from: 0
to: 1
duration: Style.duration(420)
duration: Style.duration(840)
easing.type: Easing.OutCubic
onFinished: {
if (root.incomingBackground) {
+5
View File
@@ -74,4 +74,9 @@ assert(
/function prepareBackground[\s\S]*?requestNativeSize\(path\)/.test(backgroundQml),
'background never probes videos and probes a prepared frame ahead of its transition'
)
assert(
/id: revealAnimation[\s\S]*?duration: Style\.duration\(840\)/.test(backgroundQml),
'background reveal takes 840ms'
)
JS