Commit 34b81ccb authored by Nate Graham's avatar Nate Graham
Browse files

Use more standard durations

This allows the animation speeds for these components to scale with the
user's preferences or be disabled entirely if they have turned off
animations.

CCBUG: 433948
parent 1b5c2ca5
......@@ -258,7 +258,7 @@ Item {
target: internal.oldContainment
properties: "x"
to: internal.newContainment != null ? -root.width : 0
duration: 400
duration: PlasmaCore.Units.veryLongDuration
easing.type: Easing.InOutQuad
}
NumberAnimation {
......
......@@ -52,7 +52,7 @@ QQC2.ScrollView {
source: model.icon
opacity: model.blocked ? 0.6 : 1.0
Behavior on opacity { NumberAnimation { duration: 100 } }
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration } }
}
Kirigami.Icon {
......@@ -63,7 +63,7 @@ QQC2.ScrollView {
source: "emblem-unavailable"
opacity: model.blocked ? 1.0 : 0.0
Behavior on opacity { NumberAnimation { duration: 100 } }
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration } }
}
QQC2.Label {
......@@ -77,7 +77,7 @@ QQC2.ScrollView {
wrapMode: Text.Wrap
opacity: model.blocked ? 0.6 : 1.0
Behavior on opacity { NumberAnimation { duration: 100 } }
Behavior on opacity { NumberAnimation { duration: PlasmaCore.Units.shortDuration } }
}
MouseArea {
......
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