diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2015-02-04 20:22:08 +0100 |
---|---|---|
committer | Rémi Verschelde <remi@verschelde.fr> | 2015-02-04 20:22:18 +0100 |
commit | dc161749fc8af85cdc1fa067da6eec367e085073 (patch) | |
tree | e6fa9ee1fdb514d33a6788e9f8b0b1f8d9e3e27c /kde4-profiles/common | |
parent | deb9764664b2d247148ec2be9b38f42eae5b06ec (diff) | |
download | config-dc161749fc8af85cdc1fa067da6eec367e085073.tar config-dc161749fc8af85cdc1fa067da6eec367e085073.tar.gz config-dc161749fc8af85cdc1fa067da6eec367e085073.tar.bz2 config-dc161749fc8af85cdc1fa067da6eec367e085073.tar.xz config-dc161749fc8af85cdc1fa067da6eec367e085073.zip |
ksplash: tweaked the animation to prevent the "magei" effect when waiting for the last stage
Diffstat (limited to 'kde4-profiles/common')
-rw-r--r-- | kde4-profiles/common/share/apps/ksplash/Themes/Default/main.qml | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/kde4-profiles/common/share/apps/ksplash/Themes/Default/main.qml b/kde4-profiles/common/share/apps/ksplash/Themes/Default/main.qml index db54c8f..0b69bcd 100644 --- a/kde4-profiles/common/share/apps/ksplash/Themes/Default/main.qml +++ b/kde4-profiles/common/share/apps/ksplash/Themes/Default/main.qml @@ -29,27 +29,41 @@ Item { onStageChanged: { if (stage == 1) { - letter1.opacity = 1 - bubble1.opacity = 1 - } - if (stage == 2) { + cauldron.opacity = 0.2 letter2.opacity = 1 - bubble2.opacity = 1 + bubble1.opacity = 0.2 } - if (stage == 3) { + if (stage == 2) { + cauldron.opacity = 0.4 letter3.opacity = 1 - bubble3.opacity = 1 + bubble1.opacity = 0.4 + bubble2.opacity = 0.4 } - if (stage == 4) { + if (stage == 3) { + cauldron.opacity = 0.6 letter4.opacity = 1 - bubble4.opacity = 1 + bubble1.opacity = 0.6 + bubble2.opacity = 0.6 + bubble3.opacity = 0.6 } - if (stage == 5) { + if (stage == 4) { + cauldron.opacity = 0.8 letter5.opacity = 1 + bubble1.opacity = 0.8 + bubble2.opacity = 0.8 + bubble3.opacity = 0.8 + bubble4.opacity = 0.8 + } + if (stage == 5) { + cauldron.opacity = 1 + letter6.opacity = 1 + bubble1.opacity = 1 + bubble2.opacity = 1 + bubble3.opacity = 1 + bubble4.opacity = 1 bubble5.opacity = 1 } if (stage == 6) { - letter6.opacity = 1 bubble6.opacity = 1 } } @@ -78,7 +92,8 @@ Item { source: "images/cauldron.png" - opacity: 1 + opacity: 0 + Behavior on opacity { NumberAnimation { duration: 2000; alwaysRunToEnd: false; easing { type: Easing.InOutQuad } } } } Image { @@ -90,8 +105,7 @@ Item { source: "images/letter1.png" - opacity: 0 - Behavior on opacity { NumberAnimation { duration: 2000; alwaysRunToEnd: false; easing { type: Easing.InOutQuad } } } + opacity: 1 } Image { |