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