summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2015-02-04 20:22:08 +0100
committerRémi Verschelde <remi@verschelde.fr>2015-02-04 20:22:18 +0100
commitdc161749fc8af85cdc1fa067da6eec367e085073 (patch)
treee6fa9ee1fdb514d33a6788e9f8b0b1f8d9e3e27c
parentdeb9764664b2d247148ec2be9b38f42eae5b06ec (diff)
downloadconfig-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
-rw-r--r--kde4-profiles/common/share/apps/ksplash/Themes/Default/main.qml42
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 {