diff options
Diffstat (limited to 'components/controls/StyledSwitch.qml')
| -rw-r--r-- | components/controls/StyledSwitch.qml | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/components/controls/StyledSwitch.qml b/components/controls/StyledSwitch.qml index af5c07d..ecc1076 100644 --- a/components/controls/StyledSwitch.qml +++ b/components/controls/StyledSwitch.qml @@ -39,7 +39,7 @@ Switch { opacity: root.pressed ? 0.1 : root.hovered ? 0.08 : 0 Behavior on opacity { - NumberAnim {} + Anim {} } } @@ -129,11 +129,11 @@ Switch { } Behavior on x { - NumberAnim {} + Anim {} } Behavior on implicitWidth { - NumberAnim {} + Anim {} } } } @@ -144,12 +144,6 @@ Switch { enabled: false } - component NumberAnim: NumberAnimation { - duration: Appearance.anim.durations.normal - easing.type: Easing.BezierSpline - easing.bezierCurve: Appearance.anim.curves.standard - } - component PropAnim: PropertyAnimation { duration: Appearance.anim.durations.normal easing.type: Easing.BezierSpline |