mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-03 19:12:11 -04:00
revert animators
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ Rectangle {
|
||||
}
|
||||
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
NumberAnimation {
|
||||
duration: Theme.shortDuration
|
||||
easing.type: Theme.standardEasing
|
||||
}
|
||||
|
||||
@@ -27,7 +27,7 @@ Rectangle {
|
||||
|
||||
opacity: expanded ? 1 : 0
|
||||
Behavior on opacity {
|
||||
OpacityAnimator {
|
||||
NumberAnimation {
|
||||
duration: Theme.shortDuration
|
||||
easing.type: Theme.emphasizedEasing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user