Skip to content

armgit / godot

Public Imported from GitHub
0

Godot Engine – Multi-platform 2D and 3D game engine

Redraw owners in `Range::set_exp_ratio`

iker-sr3d7f229c956f
diff --git a/scene/gui/range.cpp b/scene/gui/range.cpp
index 0666240690f..1de8ff8a3a5 100644
--- a/scene/gui/range.cpp
+++ b/scene/gui/range.cpp
@@ -449,6 +449,7 @@ void Range::set_exp_ratio(bool p_enable) {
}
shared->exp_ratio = p_enable;
+ shared->redraw_owners();
update_configuration_warnings();
}