From 6e8a32d4e40e25e1c077394f1638a43176ebf9ed Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 24 Aug 2025 17:22:00 +1000 Subject: internal: use Anim component --- modules/areapicker/Picker.qml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'modules/areapicker') diff --git a/modules/areapicker/Picker.qml b/modules/areapicker/Picker.qml index cd94047..0584b51 100644 --- a/modules/areapicker/Picker.qml +++ b/modules/areapicker/Picker.qml @@ -140,17 +140,17 @@ MouseArea { to: 0 duration: Appearance.anim.durations.large } - Anim { + ExAnim { target: root properties: "rsx,rsy" to: 0 } - Anim { + ExAnim { target: root property: "sw" to: root.screen.width } - Anim { + ExAnim { target: root property: "sh" to: root.screen.height @@ -256,30 +256,29 @@ MouseArea { Behavior on rsx { enabled: !root.pressed - Anim {} + ExAnim {} } Behavior on rsy { enabled: !root.pressed - Anim {} + ExAnim {} } Behavior on sw { enabled: !root.pressed - Anim {} + ExAnim {} } Behavior on sh { enabled: !root.pressed - Anim {} + ExAnim {} } - component Anim: NumberAnimation { + component ExAnim: Anim { duration: Appearance.anim.durations.expressiveDefaultSpatial - easing.type: Easing.BezierSpline easing.bezierCurve: Appearance.anim.curves.expressiveDefaultSpatial } } -- cgit v1.2.3-freya