mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Stop dragging when a slider changes editability
This commit is contained in:
@@ -294,6 +294,7 @@ void Slider::set_editable(bool p_editable) {
|
||||
if (editable == p_editable) {
|
||||
return;
|
||||
}
|
||||
grab.active = false;
|
||||
|
||||
editable = p_editable;
|
||||
queue_redraw();
|
||||
|
||||
Reference in New Issue
Block a user