mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 12:18:36 +02:00
Fix initial fade-in
This commit is contained in:
parent
9a8bb67f37
commit
b166e24ff5
2 changed files with 2 additions and 2 deletions
|
@ -111,7 +111,7 @@ Item {
|
||||||
// that can be animated, like scale or opacity, and then when the target animation value is reached, we can modify the
|
// that can be animated, like scale or opacity, and then when the target animation value is reached, we can modify the
|
||||||
// visibility.
|
// visibility.
|
||||||
enabled: false
|
enabled: false
|
||||||
opacity: 1.0
|
opacity: 0.0
|
||||||
|
|
||||||
onEnabledChanged: {
|
onEnabledChanged: {
|
||||||
opacity = enabled ? 1.0 : 0.0
|
opacity = enabled ? 1.0 : 0.0
|
||||||
|
|
|
@ -104,7 +104,7 @@ Item {
|
||||||
// that can be animated, like scale or opacity, and then when the target animation value is reached, we can modify the
|
// that can be animated, like scale or opacity, and then when the target animation value is reached, we can modify the
|
||||||
// visibility.
|
// visibility.
|
||||||
enabled: false
|
enabled: false
|
||||||
opacity: 1.0
|
opacity: 0.0
|
||||||
|
|
||||||
onEnabledChanged: {
|
onEnabledChanged: {
|
||||||
opacity = enabled ? 1.0 : 0.0
|
opacity = enabled ? 1.0 : 0.0
|
||||||
|
|
Loading…
Reference in a new issue