From 2e7ce5398fccd8d3923f2308383c7047074b6510 Mon Sep 17 00:00:00 2001 From: reionwong Date: Thu, 14 Oct 2021 18:04:32 +0800 Subject: [PATCH] Unify animation curves --- src/qml/Cursor/Main.qml | 3 ++- src/qml/Display/Main.qml | 1 + src/qml/Hideable.qml | 4 ++-- src/qml/IconCheckBox.qml | 11 ++++++----- src/qml/Wallpaper/Main.qml | 3 ++- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/qml/Cursor/Main.qml b/src/qml/Cursor/Main.qml index a3407cc..87eef0b 100644 --- a/src/qml/Cursor/Main.qml +++ b/src/qml/Cursor/Main.qml @@ -182,7 +182,8 @@ ItemPage { Behavior on scale { NumberAnimation { - duration: 100 + duration: 200 + easing.type: Easing.OutSine } } diff --git a/src/qml/Display/Main.qml b/src/qml/Display/Main.qml index 085ac1a..b6f02a8 100644 --- a/src/qml/Display/Main.qml +++ b/src/qml/Display/Main.qml @@ -139,6 +139,7 @@ ItemPage { Behavior on Layout.preferredHeight { NumberAnimation { duration: 200 + easing.type: Easing.OutSine } } diff --git a/src/qml/Hideable.qml b/src/qml/Hideable.qml index 53895b4..ced8123 100644 --- a/src/qml/Hideable.qml +++ b/src/qml/Hideable.qml @@ -29,8 +29,8 @@ Item { Behavior on implicitHeight { NumberAnimation { - duration: 125 - easing.type: Easing.InOutCubic + duration: 200 + easing.type: Easing.OutSine } } diff --git a/src/qml/IconCheckBox.qml b/src/qml/IconCheckBox.qml index 436eaa9..3a70778 100644 --- a/src/qml/IconCheckBox.qml +++ b/src/qml/IconCheckBox.qml @@ -54,8 +54,8 @@ Item { Behavior on border.color { ColorAnimation { - duration: 125 - easing.type: Easing.InOutCubic + duration: 200 + easing.type: Easing.OutSine } } @@ -85,8 +85,8 @@ Item { Behavior on opacity { NumberAnimation { - duration: 100 - easing.type: Easing.InOutCubic + duration: 200 + easing.type: Easing.OutSine } } @@ -114,7 +114,8 @@ Item { Behavior on scale { NumberAnimation { - duration: 100 + duration: 200 + easing.type: Easing.OutSine } } diff --git a/src/qml/Wallpaper/Main.qml b/src/qml/Wallpaper/Main.qml index ffdbc32..09094b6 100644 --- a/src/qml/Wallpaper/Main.qml +++ b/src/qml/Wallpaper/Main.qml @@ -104,7 +104,8 @@ ItemPage { Behavior on scale { NumberAnimation { - duration: 100 + duration: 200 + easing.type: Easing.OutSine } }