diff --git a/scene/gui/slider.cpp b/scene/gui/slider.cpp index e2fb7efb19b..398f637e856 100644 --- a/scene/gui/slider.cpp +++ b/scene/gui/slider.cpp @@ -256,7 +256,7 @@ void Slider::_notification(int p_what) { Ref style = theme_cache.slider_style; Ref tick = theme_cache.tick_icon; - bool highlighted = mouse_inside || has_focus(); + bool highlighted = editable && (mouse_inside || has_focus()); Ref grabber; if (editable) { if (highlighted) {