diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2023-08-25 10:40:43 +0800 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2023-09-08 10:36:01 +0800 |
commit | f27cf6847318268a5e1e19c64c74a88932b72833 (patch) | |
tree | 209d92b9a763932f6359fd1e4a5fc8085bc225de /src/quickcontrols/macos/impl/SwitchHandle.qml | |
parent | 0647604237c7734e428f15166e886abd09bcd336 (diff) |
macOS: add RangeSlider
Also ensure that RangeSlider warns about customization of its handles.
Task-number: QTBUG-115165
Change-Id: Ia4993713e7273d0872c4538ff7d1200cad9bc7ed
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
Diffstat (limited to 'src/quickcontrols/macos/impl/SwitchHandle.qml')
-rw-r--r-- | src/quickcontrols/macos/impl/SwitchHandle.qml | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/quickcontrols/macos/impl/SwitchHandle.qml b/src/quickcontrols/macos/impl/SwitchHandle.qml index 0b97262237..3ef17410e4 100644 --- a/src/quickcontrols/macos/impl/SwitchHandle.qml +++ b/src/quickcontrols/macos/impl/SwitchHandle.qml @@ -24,12 +24,4 @@ Rectangle { shadowScale: 0.92 shadowOpacity: 1 } - - Behavior on x { - enabled: !handle.down - SmoothedAnimation { - velocity: 75 - easing.type: Easing.InOutQuad - } - } } |