Commit f3bbc0ba authored by Nate Graham's avatar Nate Graham 🔩

Stop multiplying duration values

Summary:
After D28144, some animations are now too long because they were inappropriately
multiplying a duration value. That's no longer necessary, so let's remove the
multiplication.

Depends on D28144

Test Plan: Various things that were a bit too slow before feel just right now

Reviewers: #vdg, #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D28239
parent d7213a19
......@@ -293,7 +293,7 @@ MouseArea {
Timer {
id: timer
interval: units.longDuration * 2
interval: units.longDuration
repeat: false
onTriggered: {
......
......@@ -34,7 +34,7 @@ Flow {
NumberAnimation {
properties: "x, y"
easing.type: Easing.OutQuad
duration: units.longDuration * 2
duration: units.longDuration
}
PropertyAction { target: taskList; property: "animating"; value: false }
......
......@@ -103,7 +103,7 @@ PlasmaCore.FrameSvgItem {
return panel.screenGeometry.y + panel.screenGeometry.height - panel.height - panel.distance
}
}
duration: units.shortDuration * 3
duration: units.shortDuration
}
NumberAnimation {
......@@ -122,7 +122,7 @@ PlasmaCore.FrameSvgItem {
return panel.screenGeometry.y + panel.screenGeometry.height - panel.height - configDialog.height - panel.distance
}
}
duration: units.shortDuration * 3
duration: units.shortDuration
}
}
//END Animations
......
......@@ -306,7 +306,7 @@ Item {
NumberAnimation {
properties: "x"
from: -list.width
duration: units.shortDuration * 3
duration: units.shortDuration
}
}
......@@ -315,7 +315,7 @@ Item {
NumberAnimation {
properties: "x"
to: list.width
duration: units.shortDuration * 3
duration: units.shortDuration
}
}
......@@ -328,7 +328,7 @@ Item {
displaced: Transition {
NumberAnimation {
properties: "x,y"
duration: units.shortDuration * 3
duration: units.shortDuration
}
}
......
......@@ -54,14 +54,14 @@ Item {
}
Behavior on rotation {
NumberAnimation {
duration: units.shortDuration * 3;
duration: units.shortDuration;
easing.type: Easing.InOutExpo;
}
enabled: visible
}
Behavior on x {
NumberAnimation {
duration: units.shortDuration * 3;
duration: units.shortDuration;
easing.type: Easing.InOutExpo;
}
enabled: visible
......@@ -69,7 +69,7 @@ Item {
}
Behavior on y {
NumberAnimation {
duration: units.shortDuration * 3;
duration: units.shortDuration;
easing.type: Easing.InOutExpo;
}
enabled: visible
......
Markdown is supported
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