mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Fix disabled slider highlighting
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user