diff --git a/src/Qt5/imports/FluentUI/Controls/FluRangeSlider.qml b/src/Qt5/imports/FluentUI/Controls/FluRangeSlider.qml index 8ad699cd..e6fc7e69 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluRangeSlider.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluRangeSlider.qml @@ -44,7 +44,7 @@ T.RangeSlider { iconColor:FluTheme.dark ? FluTheme.primaryColor.lighter :FluTheme.primaryColor.dark anchors.centerIn: parent Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } @@ -75,7 +75,7 @@ T.RangeSlider { iconColor:FluTheme.dark ? FluTheme.primaryColor.lighter :FluTheme.primaryColor.dark anchors.centerIn: parent Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } diff --git a/src/Qt5/imports/FluentUI/Controls/FluSlider.qml b/src/Qt5/imports/FluentUI/Controls/FluSlider.qml index e6fcaef0..f5e911ff 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluSlider.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluSlider.qml @@ -26,7 +26,7 @@ T.Slider { width: 10 height: 10 Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } diff --git a/src/Qt5/imports/FluentUI/Controls/FluToggleSwitch.qml b/src/Qt5/imports/FluentUI/Controls/FluToggleSwitch.qml index fb5329f1..be55bee5 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluToggleSwitch.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluToggleSwitch.qml @@ -96,14 +96,14 @@ Button { return dotNormalColor } Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } } Behavior on x { enabled: FluTheme.enableAnimation - XAnimator { + NumberAnimation { duration: 167 easing.type: Easing.OutCubic } diff --git a/src/Qt6/imports/FluentUI/Controls/FluRangeSlider.qml b/src/Qt6/imports/FluentUI/Controls/FluRangeSlider.qml index b3f0a3d9..0e39b38e 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluRangeSlider.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluRangeSlider.qml @@ -45,7 +45,7 @@ T.RangeSlider { iconColor:FluTheme.dark ? FluTheme.primaryColor.lighter :FluTheme.primaryColor.dark anchors.centerIn: parent Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } @@ -76,7 +76,7 @@ T.RangeSlider { iconColor:FluTheme.dark ? FluTheme.primaryColor.lighter :FluTheme.primaryColor.dark anchors.centerIn: parent Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } diff --git a/src/Qt6/imports/FluentUI/Controls/FluSlider.qml b/src/Qt6/imports/FluentUI/Controls/FluSlider.qml index 1bba194a..1b8829d2 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluSlider.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluSlider.qml @@ -27,7 +27,7 @@ T.Slider { width: 10 height: 10 Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } diff --git a/src/Qt6/imports/FluentUI/Controls/FluToggleSwitch.qml b/src/Qt6/imports/FluentUI/Controls/FluToggleSwitch.qml index 71a7494c..5dbfdb2c 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluToggleSwitch.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluToggleSwitch.qml @@ -97,14 +97,14 @@ Button { return dotNormalColor } Behavior on scale{ - ScaleAnimator{ + NumberAnimation{ duration: 167 easing.type: Easing.OutCubic } } Behavior on x { enabled: FluTheme.enableAnimation - XAnimator { + NumberAnimation { duration: 167 easing.type: Easing.OutCubic }