Fix disabled slider highlighting

(cherry picked from commit 4394936392)
This commit is contained in:
NiskashY 2023-06-28 02:32:27 +03:00 committed by Yuri Sizov
parent 1c1d4f6264
commit 36ce14a826
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ void Slider::_notification(int p_what) {
Ref<StyleBox> style = theme_cache.slider_style;
Ref<Texture2D> tick = theme_cache.tick_icon;
bool highlighted = mouse_inside || has_focus();
bool highlighted = editable && (mouse_inside || has_focus());
Ref<Texture2D> grabber;
if (editable) {
if (highlighted) {