KDE: Improve splashscreen

This commit is contained in:
EliverLara
2020-03-30 12:39:49 -06:00
parent 92fec9ca81
commit 20fdee98d2
2 changed files with 27 additions and 6 deletions
+27 -6
View File
@@ -13,7 +13,6 @@ Image {
}
}
Item {
id: content
anchors.fill: parent
@@ -38,11 +37,32 @@ Image {
sourceSize.width: size
sourceSize.height: size
ScaleAnimator on scale {
from: 0
to: 1
duration: 700
ParallelAnimation {
running: true
ScaleAnimator {
target: logo
from: 0
to: 1
duration: 700
}
SequentialAnimation {
loops: Animation.Infinite
ScaleAnimator {
target: logo
from: 0.97
to: 1
duration: 1000
}
ScaleAnimator {
target: logo
from: 1
to: 0.97
duration: 1000
}
}
}
}
@@ -50,7 +70,8 @@ Image {
Rectangle {
radius: 4
color: "#26000000"
color: "#232831"
opacity: 0.9
y: parent.height - (parent.height - logo.y) / 3 - height/2
anchors.horizontalCenter: parent.horizontalCenter
height: 6
Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 18 KiB