mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #77242 from novalis/slider-remove-active
Stop dragging when `Slider` changes editability
This commit is contained in:
commit
605e25656f
@ -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