mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-12 15:29:43 -04:00
numerous animation improvements, convert a bunch of stuff to use
Animator, etc.
This commit is contained in:
@@ -474,14 +474,14 @@ BasePill {
|
||||
height: (isInOverflow && !root.overflowExpanded) ? 0 : visualHeight
|
||||
|
||||
Behavior on opacity {
|
||||
NumberAnimation {
|
||||
OpacityAnimator {
|
||||
duration: Theme.shortDuration
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
}
|
||||
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
ScaleAnimator {
|
||||
duration: Theme.shortDuration
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
@@ -666,7 +666,7 @@ BasePill {
|
||||
transformOrigin: Item.Center
|
||||
scale: appItem.enlargeScale
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
ScaleAnimator {
|
||||
duration: 120
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
@@ -711,7 +711,7 @@ BasePill {
|
||||
transformOrigin: Item.Center
|
||||
scale: appItem.enlargeScale
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
ScaleAnimator {
|
||||
duration: 120
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
@@ -734,7 +734,7 @@ BasePill {
|
||||
transformOrigin: Item.Center
|
||||
scale: appItem.enlargeScale
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
ScaleAnimator {
|
||||
duration: 120
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
@@ -758,7 +758,7 @@ BasePill {
|
||||
transformOrigin: Item.Center
|
||||
scale: appItem.enlargeScale
|
||||
Behavior on scale {
|
||||
NumberAnimation {
|
||||
ScaleAnimator {
|
||||
duration: 120
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user