mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 06:33:16 +00:00
Stop dragging when a slider changes editability
This commit is contained in:
parent
43a7cb093c
commit
7d6b44c5a4
@ -294,6 +294,7 @@ void Slider::set_editable(bool p_editable) {
|
||||
if (editable == p_editable) {
|
||||
return;
|
||||
}
|
||||
grab.active = false;
|
||||
|
||||
editable = p_editable;
|
||||
queue_redraw();
|
||||
|
Loading…
Reference in New Issue
Block a user