Commit fdfad7b1 authored by Janet Blackquill's avatar Janet Blackquill 🌈
Browse files

[applets/systemtray]: Adjust sliding transition

This pairs a shortened duration with an easing curve to the sliding transition when going between items, which improves the general UI polish while also feeling snappier.
parent 679db34b
......@@ -95,14 +95,16 @@ StackView {
property: "x"
from: enterItem.width
to: 0
duration: units.longDuration
easing.type: Easing.InOutQuad
duration: PlasmaCore.Units.shortDuration
}
PropertyAnimation {
target: enterItem
property: "opacity"
from: 0
to: 1
duration: units.longDuration
easing.type: Easing.InOutQuad
duration: PlasmaCore.Units.shortDuration
}
}
ParallelAnimation {
......@@ -111,14 +113,16 @@ StackView {
property: "x"
from: 0
to: -exitItem.width
duration: units.longDuration
easing.type: Easing.InOutQuad
duration: PlasmaCore.Units.shortDuration
}
PropertyAnimation {
target: exitItem
property: "opacity"
from: 1
to: 0
duration: units.longDuration
easing.type: Easing.InOutQuad
duration: PlasmaCore.Units.shortDuration
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment