Skip to content
Snippets Groups Projects
Commit 179c16fd authored by Loren Burkholder's avatar Loren Burkholder
Browse files

Use a single, reversible privacy screen transition

parent c9e3ad18
No related branches found
No related tags found
No related merge requests found
......@@ -78,30 +78,10 @@ Item {
}
]
transitions: [
Transition {
from: "Visible"
to: "Invisible"
SequentialAnimation {
NumberAnimation {
target: screenSaver
property: "opacity"
duration: 250
easing.type: Easing.InQuad
}
NumberAnimation {
target: screenSaver
property: "visible"
duration: 0
}
}
},
Transition {
from: "Invisible"
to: "Visible"
reversible: true
SequentialAnimation {
NumberAnimation {
......@@ -113,7 +93,7 @@ Item {
NumberAnimation {
target: screenSaver
property: "opacity"
duration: 500
duration: 300
easing.type: Easing.InQuad
}
......
......@@ -87,25 +87,15 @@ AbstractButton {
}
]
transitions: [
Transition {
from: "Visible"
to: "Invisible"
NumberAnimation {
target: blurhash_
property: "opacity"
duration: 250
easing.type: Easing.InQuad
}
},
Transition {
from: "Invisible"
to: "Visible"
reversible: true
NumberAnimation {
target: blurhash_
property: "opacity"
duration: 500
duration: 300
easing.type: Easing.InQuad
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment