1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-05-03 02:52:07 -04:00

revert animators

This commit is contained in:
bbedward
2026-05-01 18:09:12 -04:00
committed by purian23
parent 3796b3e1b5
commit 7c9ca60e44
65 changed files with 131 additions and 126 deletions

View File

@@ -214,13 +214,13 @@ Item {
color: root.accentColor
Behavior on x {
XAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
}
Behavior on y {
YAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -278,13 +278,13 @@ Item {
color: root.accentColor
Behavior on x {
XAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}
}
Behavior on y {
YAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -47,7 +47,7 @@ Rectangle {
opacity: mouseArea.containsMouse ? 0.08 : 0.0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
}
}

View File

@@ -51,7 +51,7 @@ Item {
}
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: 150
}
}
@@ -299,7 +299,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: 150
}
}

View File

@@ -195,7 +195,7 @@ DankPopout {
Behavior on opacity {
enabled: !Theme.isDirectionalEffect
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.BezierSpline
easing.bezierCurve: root.shouldBeVisible ? Theme.variantPopoutEnterCurve : Theme.variantPopoutExitCurve

View File

@@ -127,7 +127,7 @@ Item {
opacity: modalVisible ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}
@@ -316,14 +316,14 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -64,7 +64,7 @@ Rectangle {
opacity: 0.08
antialiasing: true
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
}
}

View File

@@ -53,7 +53,7 @@ Rectangle {
opacity: mouseArea.containsMouse ? 0.08 : 0.0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
}
}

View File

@@ -474,14 +474,14 @@ BasePill {
height: (isInOverflow && !root.overflowExpanded) ? 0 : visualHeight
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.OutCubic
}
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.OutCubic
}
@@ -666,7 +666,7 @@ BasePill {
transformOrigin: Item.Center
scale: appItem.enlargeScale
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: 120
easing.type: Easing.OutCubic
}
@@ -711,7 +711,7 @@ BasePill {
transformOrigin: Item.Center
scale: appItem.enlargeScale
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: 120
easing.type: Easing.OutCubic
}
@@ -734,7 +734,7 @@ BasePill {
transformOrigin: Item.Center
scale: appItem.enlargeScale
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: 120
easing.type: Easing.OutCubic
}
@@ -758,7 +758,7 @@ BasePill {
transformOrigin: Item.Center
scale: appItem.enlargeScale
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: 120
easing.type: Easing.OutCubic
}

View File

@@ -36,7 +36,7 @@ Item {
rotation: isVertical ? (overflowExpanded ? 180 : 0) : (overflowExpanded ? 90 : -90)
Behavior on rotation {
RotationAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.OutCubic
}

View File

@@ -39,7 +39,7 @@ BasePill {
]
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -173,7 +173,7 @@ BasePill {
opacity: root.playerAvailable ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -50,7 +50,7 @@ BasePill {
]
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -238,7 +238,7 @@ BasePill {
Behavior on opacity {
enabled: hasActivePrivacy && root.visible
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -271,7 +271,7 @@ BasePill {
]
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -625,7 +625,7 @@ BasePill {
opacity: root.inlineExpanded ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -1214,14 +1214,14 @@ BasePill {
scale: root.menuOpen ? 1 : 0.85
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}
@@ -1666,14 +1666,14 @@ BasePill {
scale: menuRoot.showMenu ? 1 : 0.85
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -36,7 +36,7 @@ BasePill {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -47,7 +47,7 @@ BasePill {
anchors.centerIn: parent
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.InOutQuad
}

View File

@@ -1471,7 +1471,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -402,7 +402,7 @@ Rectangle {
opacity: isToday ? 0.9 : 0.7
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -514,14 +514,14 @@ Item {
height: (isInOverflow && !root.overflowExpanded) ? 0 : (itemData.type === "separator" ? (root.isVertical ? 8 : root.iconSize) : (root.isVertical ? root.iconSize * 1.2 : root.iconSize))
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.OutCubic
}
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.OutCubic
}

View File

@@ -35,7 +35,7 @@ Item {
rotation: isVertical ? (overflowExpanded ? 180 : 0) : (overflowExpanded ? 90 : -90)
Behavior on rotation {
RotationAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Easing.OutCubic
}

View File

@@ -714,7 +714,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -1012,7 +1012,7 @@ Item {
opacity: (GreeterState.showPasswordInput ? GreeterState.passwordBuffer.length === 0 : GreeterState.usernameInput.length === 0) ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -1049,7 +1049,7 @@ Item {
horizontalAlignment: implicitWidth > width ? Text.AlignRight : Text.AlignLeft
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -1121,7 +1121,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -1151,7 +1151,7 @@ Item {
opacity: root.authFeedbackMessage !== "" ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -1169,7 +1169,7 @@ Item {
enabled: GreeterState.showPasswordInput
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}

View File

@@ -779,7 +779,7 @@ Rectangle {
opacity: root.showHoldHint ? 1 : 0.5
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: 150
}
}

View File

@@ -214,7 +214,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -740,7 +740,7 @@ Item {
opacity: pam.passwd.active ? 0 : 1
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -879,7 +879,7 @@ Item {
opacity: (demoMode || root.passwordBuffer.length === 0) ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -916,7 +916,7 @@ Item {
horizontalAlignment: implicitWidth > width ? Text.AlignRight : Text.AlignLeft
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.standardEasing
}
@@ -1053,7 +1053,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -1084,7 +1084,7 @@ Item {
opacity: text.length > 0 ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -1114,7 +1114,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -47,7 +47,7 @@ FocusScope {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: 200
}
}

View File

@@ -285,7 +285,7 @@ Column {
radius: Theme.cornerRadius
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -283,7 +283,7 @@ Item {
Behavior on x {
enabled: !swipeDragHandler.active && delegateRoot.__delegateInitialized
XAnimator {
NumberAnimation {
duration: Theme.notificationExitDuration
easing.type: Theme.standardEasing
}
@@ -291,7 +291,7 @@ Item {
Behavior on opacity {
enabled: delegateRoot.__delegateInitialized
OpacityAnimator {
NumberAnimation {
duration: delegateRoot.__delegateInitialized ? Theme.notificationExitDuration : 0
}
}

View File

@@ -226,7 +226,7 @@ DankListView {
Behavior on x {
enabled: !swipeDragHandler.active && !delegateRoot.isDismissing && (listView.swipingCardIndex === -1 || !delegateRoot.isAdjacentToSwipe) && listView.listInitialized
XAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -234,7 +234,7 @@ DankListView {
Behavior on opacity {
enabled: listView.listInitialized
OpacityAnimator {
NumberAnimation {
duration: listView.listInitialized ? Theme.shortDuration : 0
}
}

View File

@@ -75,7 +75,7 @@ Rectangle {
Behavior on scale {
enabled: listLevelScaleAnimationsEnabled
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -545,7 +545,7 @@ Rectangle {
Behavior on x {
enabled: !expandedSwipeHandler.active && !expandedDelegateWrapper.isDismissing
XAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -553,7 +553,7 @@ Rectangle {
Behavior on scale {
enabled: !expandedSwipeHandler.active
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -762,7 +762,7 @@ Rectangle {
spacing: contentSpacing
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -822,7 +822,7 @@ Rectangle {
color: isHovered ? Theme.withAlpha(Theme.primary, Theme.stateLayerHover) : "transparent"
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -42,7 +42,7 @@ Rectangle {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -27,7 +27,7 @@ Rectangle {
opacity: expanded ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -996,7 +996,7 @@ PanelWindow {
z: 20
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -1051,7 +1051,7 @@ PanelWindow {
visible: actionCount < 3 && cardHoverHandler.hovered
opacity: visible ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -519,7 +519,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -182,7 +182,7 @@ SettingsCard {
opacity: visible ? 1 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -107,7 +107,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -587,7 +587,7 @@ FloatingWindow {
border.color: buttonState === "incompatible" ? Theme.warning : Theme.outline
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -619,7 +619,7 @@ FloatingWindow {
border.color: isInstalled ? (uninstallMouseArea.containsMouse ? Theme.error : Theme.outline) : "transparent"
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -380,7 +380,7 @@ Item {
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.emphasizedEasing
}
@@ -633,7 +633,7 @@ Item {
scale: isActive ? 1.03 : 1
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.emphasizedEasing
}
@@ -989,7 +989,7 @@ Item {
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -308,7 +308,7 @@ Column {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}
@@ -620,7 +620,7 @@ Column {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.shortDuration
easing.type: Theme.standardEasing
}

View File

@@ -97,7 +97,7 @@ Item {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -416,7 +416,7 @@ PanelWindow {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.mediumDuration
easing.type: Theme.emphasizedEasing
}

View File

@@ -120,7 +120,7 @@ Scope {
opacity: overviewScope.overviewOpen ? 0.5 : 0
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen)
easing.type: Easing.BezierSpline
easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve
@@ -173,7 +173,7 @@ Scope {
}
Behavior on opacity {
OpacityAnimator {
NumberAnimation {
duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen)
easing.type: Easing.BezierSpline
easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve
@@ -181,7 +181,7 @@ Scope {
}
Behavior on scale {
ScaleAnimator {
NumberAnimation {
duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen)
easing.type: Easing.BezierSpline
easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve
@@ -189,7 +189,7 @@ Scope {
}
Behavior on x {
XAnimator {
NumberAnimation {
duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen)
easing.type: Easing.BezierSpline
easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve
@@ -197,7 +197,7 @@ Scope {
}
Behavior on y {
YAnimator {
NumberAnimation {
duration: Theme.variantDuration(Theme.expressiveDurations.expressiveDefaultSpatial, overviewScope.overviewOpen)
easing.type: Easing.BezierSpline
easing.bezierCurve: overviewScope.overviewOpen ? Theme.variantModalEnterCurve : Theme.variantModalExitCurve