250ms animations become units.longDuration
This commit is contained in:
parent
78d14a00c5
commit
27eae008d6
@ -157,7 +157,7 @@ Item {
|
||||
target: frame
|
||||
properties: "scale"
|
||||
to: 0
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
ScriptAction { script: frame.destroy()}
|
||||
}
|
||||
|
@ -85,7 +85,7 @@ Item {
|
||||
opacity: 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
|
||||
@ -172,7 +172,7 @@ Item {
|
||||
opacity: dragArea.pressed?1:0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -178,7 +178,7 @@ Item {
|
||||
opacity: (textInput.text != "" && clearButtonShown) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
@ -63,7 +63,7 @@ Item {
|
||||
Transition {
|
||||
PropertyAnimation {
|
||||
properties: "opacity"
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -61,7 +61,7 @@ Item {
|
||||
Transition {
|
||||
PropertyAnimation {
|
||||
properties: "opacity"
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ Item {
|
||||
Transition {
|
||||
PropertyAnimation {
|
||||
properties: "opacity"
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ Private.DualStateButton {
|
||||
}
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ Item {
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
@ -75,7 +75,7 @@ Item {
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -54,7 +54,7 @@ Private.DualStateButton {
|
||||
}
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ Item {
|
||||
implicitWidth: scrollBar.implicitWidth
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
|
||||
@ -129,7 +129,7 @@ Item {
|
||||
opacity: sectionLabel.text && scrollBar.pressed ? 1 : 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -55,7 +55,7 @@ Private.DualStateButton {
|
||||
}
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ FocusScope {
|
||||
Behavior on x {
|
||||
PropertyAnimation {
|
||||
easing.type: Easing.InQuad
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -168,7 +168,7 @@ FocusScope {
|
||||
}
|
||||
Behavior on x {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
@ -207,14 +207,14 @@ Item {
|
||||
to: "Incoming"
|
||||
SequentialAnimation {
|
||||
ScriptAction { script: root.clip = true }
|
||||
PropertyAnimation { properties: "opacity,x"; easing.type: Easing.InQuad; duration: 250 }
|
||||
PropertyAnimation { properties: "opacity,x"; easing.type: Easing.InQuad; duration: units.longDuration }
|
||||
ScriptAction { script: {incomingDone(); root.clip = false} }
|
||||
}
|
||||
},
|
||||
Transition {
|
||||
to: "OutgoingLeft,OutgoingRight"
|
||||
SequentialAnimation {
|
||||
PropertyAnimation { properties: "opacity,x"; easing.type: Easing.InQuad; duration: 250 }
|
||||
PropertyAnimation { properties: "opacity,x"; easing.type: Easing.InQuad; duration: units.longDuration }
|
||||
ScriptAction { script: outgoingDone() }
|
||||
}
|
||||
}
|
||||
|
@ -363,7 +363,7 @@ FocusScope {
|
||||
opacity: (textInput.text != "" && clearButtonShown && textField.enabled) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ Item{
|
||||
Behavior on height {
|
||||
PropertyAnimation {
|
||||
id: heightAnimation
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
z: 1000
|
||||
@ -201,19 +201,19 @@ Item{
|
||||
Behavior on opacity {
|
||||
PropertyAnimation {
|
||||
id: containerAOpacityAnimation
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
Behavior on x {
|
||||
enabled: containerA.animationsEnabled
|
||||
PropertyAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
Behavior on y {
|
||||
enabled: containerA.animationsEnabled
|
||||
PropertyAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -223,18 +223,18 @@ Item{
|
||||
height: parent.height
|
||||
opacity: 0
|
||||
Behavior on opacity {
|
||||
PropertyAnimation { duration: 250 }
|
||||
PropertyAnimation { duration: units.longDuration }
|
||||
}
|
||||
Behavior on x {
|
||||
enabled: containerA.animationsEnabled
|
||||
PropertyAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
Behavior on y {
|
||||
enabled: containerA.animationsEnabled
|
||||
PropertyAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -227,7 +227,7 @@ Item {
|
||||
//internal: if there is no hover status, don't paint on mouse over in touchscreens
|
||||
opacity: (internal.userPressed || checked || !flat || (shadow.hasOverState && mouse.containsMouse && button.enabled)) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
PropertyAnimation { duration: 250 }
|
||||
PropertyAnimation { duration: units.longDuration }
|
||||
}
|
||||
|
||||
PlasmaCore.Svg {
|
||||
@ -333,7 +333,7 @@ Item {
|
||||
//internal: if there is no hover status, don't paint on mouse over in touchscreens
|
||||
opacity: (internal.userPressed || checked || !flat || (roundShadow.hasOverState && mouse.containsMouse)) ? 1 : 0
|
||||
Behavior on opacity {
|
||||
PropertyAnimation { duration: 250 }
|
||||
PropertyAnimation { duration: units.longDuration }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ Item {
|
||||
Transition {
|
||||
PropertyAnimation {
|
||||
properties: "opacity"
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ Item {
|
||||
SequentialAnimation {
|
||||
id: appearAnimation
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
target: dismissArea
|
||||
properties: "opacity"
|
||||
|
@ -126,7 +126,7 @@ Item {
|
||||
Transition {
|
||||
PropertyAnimation {
|
||||
properties: "opacity"
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ PlasmaCore.FrameSvgItem {
|
||||
opacity: 0
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ Item {
|
||||
Transition {
|
||||
PropertyAnimation {
|
||||
properties: "opacity"
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.OutQuad
|
||||
}
|
||||
}
|
||||
|
@ -121,7 +121,7 @@ Item {
|
||||
clip: true
|
||||
width: navigationWidth + space
|
||||
Behavior on width {
|
||||
NumberAnimation { duration: 250; easing.type: Easing.InOutExpo; }
|
||||
NumberAnimation { duration: units.longDuration; easing.type: Easing.InOutExpo; }
|
||||
}
|
||||
|
||||
Item {
|
||||
|
@ -187,7 +187,7 @@ Item {
|
||||
opacity: flickableItem.atYBeginning ? 0 : 1
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
@ -207,7 +207,7 @@ Item {
|
||||
opacity: flickableItem.atYEnd ? 0 : 1
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
@ -226,7 +226,7 @@ Item {
|
||||
opacity: flickableItem.atXBeginning ? 0 : 1
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
@ -245,7 +245,7 @@ Item {
|
||||
opacity: flickableItem.atXEnd ? 0 : 1
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
duration: 250
|
||||
duration: units.longDuration
|
||||
easing.type: Easing.InOutQuad
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user