Fix initial fade-in

This commit is contained in:
David Rowe 2015-06-01 11:06:33 -07:00
parent 9a8bb67f37
commit b166e24ff5
2 changed files with 2 additions and 2 deletions

View file

@ -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
// visibility.
enabled: false
opacity: 1.0
opacity: 0.0
onEnabledChanged: {
opacity = enabled ? 1.0 : 0.0

View file

@ -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
// visibility.
enabled: false
opacity: 1.0
opacity: 0.0
onEnabledChanged: {
opacity = enabled ? 1.0 : 0.0