diff --git a/components/controls/Menu.qml b/components/controls/Menu.qml index ea40760d..ffa5d14e 100644 --- a/components/controls/Menu.qml +++ b/components/controls/Menu.qml @@ -90,9 +90,7 @@ MouseArea { origin.y: root.thisSideY === Menu.Bottom ? menu.height : 0 Behavior on yScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } diff --git a/components/filedialog/FolderContents.qml b/components/filedialog/FolderContents.qml index b781631f..fee305e1 100644 --- a/components/filedialog/FolderContents.qml +++ b/components/filedialog/FolderContents.qml @@ -120,7 +120,6 @@ Item { properties: "opacity,scale" from: 0 to: 1 - type: Anim.DefaultSpatial } } @@ -145,7 +144,6 @@ Item { } Anim { properties: "x,y" - type: Anim.DefaultSpatial } } } diff --git a/modules/areapicker/Picker.qml b/modules/areapicker/Picker.qml index 7a13150c..1e6a612d 100644 --- a/modules/areapicker/Picker.qml +++ b/modules/areapicker/Picker.qml @@ -168,17 +168,17 @@ MouseArea { to: 0 type: Anim.StandardLarge } - ExAnim { + Anim { target: root properties: "rsx,rsy" to: 0 } - ExAnim { + Anim { target: root property: "sw" to: root.screen.width } - ExAnim { + Anim { target: root property: "sh" to: root.screen.height @@ -284,28 +284,24 @@ MouseArea { Behavior on rsx { enabled: !root.pressed - ExAnim {} + Anim {} } Behavior on rsy { enabled: !root.pressed - ExAnim {} + Anim {} } Behavior on sw { enabled: !root.pressed - ExAnim {} + Anim {} } Behavior on sh { enabled: !root.pressed - ExAnim {} - } - - component ExAnim: Anim { - type: Anim.DefaultSpatial + Anim {} } } diff --git a/modules/background/DesktopClock.qml b/modules/background/DesktopClock.qml index f90329e6..6a14d41e 100644 --- a/modules/background/DesktopClock.qml +++ b/modules/background/DesktopClock.qml @@ -150,9 +150,7 @@ Item { } Behavior on clockScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on implicitWidth { diff --git a/modules/bar/BarWrapper.qml b/modules/bar/BarWrapper.qml index eeab15a7..51794b08 100644 --- a/modules/bar/BarWrapper.qml +++ b/modules/bar/BarWrapper.qml @@ -57,7 +57,6 @@ Item { Anim { target: root property: "implicitWidth" - type: Anim.DefaultSpatial } }, Transition { diff --git a/modules/bar/components/ActiveWindow.qml b/modules/bar/components/ActiveWindow.qml index c458fa40..b8699ed0 100644 --- a/modules/bar/components/ActiveWindow.qml +++ b/modules/bar/components/ActiveWindow.qml @@ -99,9 +99,7 @@ Item { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } component Title: StyledText { diff --git a/modules/bar/components/Tray.qml b/modules/bar/components/Tray.qml index 11d4d002..4545d554 100644 --- a/modules/bar/components/Tray.qml +++ b/modules/bar/components/Tray.qml @@ -117,8 +117,6 @@ StyledRect { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } diff --git a/modules/bar/popouts/ClipWrapper.qml b/modules/bar/popouts/ClipWrapper.qml index ab80d2cc..99785219 100644 --- a/modules/bar/popouts/ClipWrapper.qml +++ b/modules/bar/popouts/ClipWrapper.qml @@ -33,9 +33,7 @@ Item { } Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on x { diff --git a/modules/controlcenter/NavRail.qml b/modules/controlcenter/NavRail.qml index f5c3fd3d..b6e32473 100644 --- a/modules/controlcenter/NavRail.qml +++ b/modules/controlcenter/NavRail.qml @@ -102,15 +102,11 @@ Item { } Behavior on implicitWidth { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } @@ -159,7 +155,6 @@ Item { Anim { properties: "implicitWidth,implicitHeight" - type: Anim.DefaultSpatial } } diff --git a/modules/controlcenter/bluetooth/Settings.qml b/modules/controlcenter/bluetooth/Settings.qml index a5f04285..14d2a53f 100644 --- a/modules/controlcenter/bluetooth/Settings.qml +++ b/modules/controlcenter/bluetooth/Settings.qml @@ -252,9 +252,7 @@ ColumnLayout { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } diff --git a/modules/dashboard/Wrapper.qml b/modules/dashboard/Wrapper.qml index f7f03742..09083ff3 100644 --- a/modules/dashboard/Wrapper.qml +++ b/modules/dashboard/Wrapper.qml @@ -39,9 +39,7 @@ Item { opacity: 1 - offsetScale Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Loader { diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index 18d86b58..b5d9c4f1 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -73,21 +73,15 @@ StyledWindow { anchors.right: true Behavior on borderThickness { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on borderRounding { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on shadowOpacity { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } HyprlandFocusGrab { @@ -218,9 +212,7 @@ StyledWindow { implicitWidth: panels.popouts.width * (1 + extraWidth) Behavior on extraWidth { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } diff --git a/modules/launcher/AppList.qml b/modules/launcher/AppList.qml index 00023da4..6ef55df4 100644 --- a/modules/launcher/AppList.qml +++ b/modules/launcher/AppList.qml @@ -41,9 +41,7 @@ StyledListView { implicitHeight: root.currentItem?.implicitHeight ?? 0 Behavior on y { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } diff --git a/modules/launcher/Wrapper.qml b/modules/launcher/Wrapper.qml index c6f221d3..46bbd4f4 100644 --- a/modules/launcher/Wrapper.qml +++ b/modules/launcher/Wrapper.qml @@ -40,9 +40,7 @@ Item { Component.onCompleted: Qt.callLater(() => Apps) // Load apps on init Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Loader { diff --git a/modules/lock/LockSurface.qml b/modules/lock/LockSurface.qml index 4beb6c21..2c97248d 100644 --- a/modules/lock/LockSurface.qml +++ b/modules/lock/LockSurface.qml @@ -36,7 +36,6 @@ WlSessionLockSurface { target: lockContent properties: "implicitWidth,implicitHeight" to: lockContent.size - type: Anim.DefaultSpatial } Anim { target: lockBg @@ -47,7 +46,6 @@ WlSessionLockSurface { target: content property: "scale" to: 0 - type: Anim.DefaultSpatial } Anim { target: content @@ -136,7 +134,6 @@ WlSessionLockSurface { target: content property: "scale" to: 1 - type: Anim.DefaultSpatial } Anim { target: lockBg @@ -147,13 +144,11 @@ WlSessionLockSurface { target: lockContent property: "implicitWidth" to: (root.screen?.height ?? 0) * lockContent.Tokens.sizes.lock.heightMult * lockContent.Tokens.sizes.lock.ratio - type: Anim.DefaultSpatial } Anim { target: lockContent property: "implicitHeight" to: (root.screen?.height ?? 0) * lockContent.Tokens.sizes.lock.heightMult - type: Anim.DefaultSpatial } } } diff --git a/modules/lock/NotifDock.qml b/modules/lock/NotifDock.qml index 13aad9b9..93b0740a 100644 --- a/modules/lock/NotifDock.qml +++ b/modules/lock/NotifDock.qml @@ -101,7 +101,6 @@ ColumnLayout { property: "scale" from: 0 to: 1 - type: Anim.DefaultSpatial } } @@ -125,7 +124,6 @@ ColumnLayout { } Anim { property: "y" - type: Anim.DefaultSpatial } } @@ -137,7 +135,6 @@ ColumnLayout { } Anim { property: "y" - type: Anim.DefaultSpatial } } } diff --git a/modules/lock/NotifGroup.qml b/modules/lock/NotifGroup.qml index ddbb298f..1b119085 100644 --- a/modules/lock/NotifGroup.qml +++ b/modules/lock/NotifGroup.qml @@ -300,9 +300,7 @@ StyledRect { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } component NotifLine: StyledText { diff --git a/modules/notifications/Notification.qml b/modules/notifications/Notification.qml index 8b5de4ab..23639e1d 100644 --- a/modules/notifications/Notification.qml +++ b/modules/notifications/Notification.qml @@ -99,9 +99,7 @@ StyledRect { implicitHeight: root.nonAnimHeight Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Loader { diff --git a/modules/osd/Wrapper.qml b/modules/osd/Wrapper.qml index 3ea0e1a3..b6f058b8 100644 --- a/modules/osd/Wrapper.qml +++ b/modules/osd/Wrapper.qml @@ -45,9 +45,7 @@ Item { opacity: 1 - offsetScale Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Connections { diff --git a/modules/session/Wrapper.qml b/modules/session/Wrapper.qml index 41d9ba1a..aab2118c 100644 --- a/modules/session/Wrapper.qml +++ b/modules/session/Wrapper.qml @@ -22,9 +22,7 @@ Item { opacity: 1 - offsetScale Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Loader { diff --git a/modules/sidebar/Notif.qml b/modules/sidebar/Notif.qml index 4f55ea9e..a14f5aa1 100644 --- a/modules/sidebar/Notif.qml +++ b/modules/sidebar/Notif.qml @@ -123,9 +123,7 @@ StyledRect { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } component ExpandedBody: ColumnLayout { diff --git a/modules/sidebar/NotifDockList.qml b/modules/sidebar/NotifDockList.qml index e6e7804a..aa9a962a 100644 --- a/modules/sidebar/NotifDockList.qml +++ b/modules/sidebar/NotifDockList.qml @@ -128,9 +128,7 @@ LazyListView { Behavior on y { enabled: notif.LazyListView.ready - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on opacity { @@ -140,15 +138,11 @@ LazyListView { } Behavior on scale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on x { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } @@ -158,6 +152,5 @@ LazyListView { target: root.container property: "contentY" - type: Anim.DefaultSpatial } } diff --git a/modules/sidebar/NotifGroup.qml b/modules/sidebar/NotifGroup.qml index de9a974d..201c6070 100644 --- a/modules/sidebar/NotifGroup.qml +++ b/modules/sidebar/NotifGroup.qml @@ -61,9 +61,7 @@ StyledRect { color: Colours.layer(Colours.palette.m3surfaceContainer, 2) Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } RowLayout { @@ -221,15 +219,11 @@ StyledRect { Layout.topMargin: root.expanded ? -Math.floor(Tokens.padding.extraSmall) : 0 Behavior on rotation { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on Layout.topMargin { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } diff --git a/modules/sidebar/NotifGroupList.qml b/modules/sidebar/NotifGroupList.qml index c1e631e9..a34fe5eb 100644 --- a/modules/sidebar/NotifGroupList.qml +++ b/modules/sidebar/NotifGroupList.qml @@ -132,9 +132,7 @@ LazyListView { Behavior on y { enabled: notif.LazyListView.ready - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on opacity { @@ -148,9 +146,7 @@ LazyListView { } Behavior on x { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } diff --git a/modules/sidebar/Wrapper.qml b/modules/sidebar/Wrapper.qml index 9eeb9d02..6d50ab76 100644 --- a/modules/sidebar/Wrapper.qml +++ b/modules/sidebar/Wrapper.qml @@ -19,9 +19,7 @@ Item { opacity: 1 - offsetScale Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Loader { diff --git a/modules/utilities/RecordingDeleteModal.qml b/modules/utilities/RecordingDeleteModal.qml index 7abaac8c..2e462b46 100644 --- a/modules/utilities/RecordingDeleteModal.qml +++ b/modules/utilities/RecordingDeleteModal.qml @@ -202,9 +202,7 @@ Loader { } Behavior on scale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } diff --git a/modules/utilities/Wrapper.qml b/modules/utilities/Wrapper.qml index 958d90e6..138fd16d 100644 --- a/modules/utilities/Wrapper.qml +++ b/modules/utilities/Wrapper.qml @@ -64,9 +64,7 @@ Item { ] Behavior on offsetScale { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Loader { diff --git a/modules/utilities/cards/IdleInhibit.qml b/modules/utilities/cards/IdleInhibit.qml index 6ac04059..81f841bf 100644 --- a/modules/utilities/cards/IdleInhibit.qml +++ b/modules/utilities/cards/IdleInhibit.qml @@ -100,9 +100,7 @@ StyledRect { } Behavior on anchors.bottomMargin { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } Behavior on opacity { @@ -117,8 +115,6 @@ StyledRect { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } diff --git a/modules/utilities/cards/RecordingList.qml b/modules/utilities/cards/RecordingList.qml index 82d72a3e..fde71c6c 100644 --- a/modules/utilities/cards/RecordingList.qml +++ b/modules/utilities/cards/RecordingList.qml @@ -232,9 +232,7 @@ ColumnLayout { } Behavior on implicitHeight { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } } diff --git a/modules/utilities/toasts/Toasts.qml b/modules/utilities/toasts/Toasts.qml index c3c405a5..2828d6f6 100644 --- a/modules/utilities/toasts/Toasts.qml +++ b/modules/utilities/toasts/Toasts.qml @@ -111,7 +111,6 @@ Item { properties: "opacity,scale" from: 0 to: 1 - type: Anim.DefaultSpatial } ParallelAnimation { @@ -149,9 +148,7 @@ Item { } Behavior on anchors.bottomMargin { - Anim { - type: Anim.DefaultSpatial - } + Anim {} } } }