diff --git a/src/Qt5/imports/FluentUI/Controls/FluSlider.qml b/src/Qt5/imports/FluentUI/Controls/FluSlider.qml index 504b809d..6d38d2b7 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluSlider.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluSlider.qml @@ -67,7 +67,7 @@ T.Slider { } FluTooltip{ parent: control.handle - visible: control.tooltipEnabled && control.pressed + visible: control.tooltipEnabled && (control.pressed || control.hovered) text:String(control.value) } } diff --git a/src/Qt6/imports/FluentUI/Controls/FluSlider.qml b/src/Qt6/imports/FluentUI/Controls/FluSlider.qml index cd77769e..cfbd5765 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluSlider.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluSlider.qml @@ -68,7 +68,7 @@ T.Slider { } FluTooltip{ parent: control.handle - visible: control.tooltipEnabled && control.pressed + visible: control.tooltipEnabled && (control.pressed || control.hovered) text:String(control.value) } }