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) {
|
if (editable == p_editable) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
grab.active = false;
|
||||||
|
|
||||||
editable = p_editable;
|
editable = p_editable;
|
||||||
queue_redraw();
|
queue_redraw();
|
||||||
|
Loading…
Reference in New Issue
Block a user