Stop dragging when a slider changes editability

(cherry picked from commit 7d6b44c5a4)
This commit is contained in:
David Turner 2023-05-19 10:20:42 -04:00 committed by Yuri Sizov
parent 3f98539361
commit 4cf3aff7cc

View File

@ -289,6 +289,7 @@ void Slider::set_editable(bool p_editable) {
if (editable == p_editable) {
return;
}
grab.active = false;
editable = p_editable;
queue_redraw();