Slow down the reveal effect a little on background changes
This commit is contained in:
1 parent
be052339d8
commit
7f95505dec
2 files changed
+6
-1
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user