diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 16:51:09 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-24 16:51:09 +1000 |
| commit | 486f9d2e2f260d18883991f4a6981a2cc0d15526 (patch) | |
| tree | 9164de4b4019827ee1bda86a54a172c26e7ced85 /components/controls | |
| parent | internal: add anim component (diff) | |
| download | caelestia-shell-486f9d2e2f260d18883991f4a6981a2cc0d15526.tar.gz caelestia-shell-486f9d2e2f260d18883991f4a6981a2cc0d15526.tar.bz2 caelestia-shell-486f9d2e2f260d18883991f4a6981a2cc0d15526.zip | |
internal: add canim component
Diffstat (limited to 'components/controls')
| -rw-r--r-- | components/controls/StyledRadioButton.qml | 6 | ||||
| -rw-r--r-- | components/controls/StyledSwitch.qml | 6 | ||||
| -rw-r--r-- | components/controls/StyledTextField.qml | 12 |
3 files changed, 4 insertions, 20 deletions
diff --git a/components/controls/StyledRadioButton.qml b/components/controls/StyledRadioButton.qml index 7a44baa..781ff7f 100644 --- a/components/controls/StyledRadioButton.qml +++ b/components/controls/StyledRadioButton.qml @@ -40,11 +40,7 @@ RadioButton { } Behavior on border.color { - ColorAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + CAnim {} } } diff --git a/components/controls/StyledSwitch.qml b/components/controls/StyledSwitch.qml index 7b23712..af5c07d 100644 --- a/components/controls/StyledSwitch.qml +++ b/components/controls/StyledSwitch.qml @@ -110,11 +110,7 @@ Switch { } Behavior on strokeColor { - ColorAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + CAnim {} } } diff --git a/components/controls/StyledTextField.qml b/components/controls/StyledTextField.qml index 30db314..7817799 100644 --- a/components/controls/StyledTextField.qml +++ b/components/controls/StyledTextField.qml @@ -69,18 +69,10 @@ TextField { } Behavior on color { - ColorAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + CAnim {} } Behavior on placeholderTextColor { - ColorAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } + CAnim {} } } |