Merge pull request #77242 from novalis/slider-remove-active

Stop dragging when `Slider` changes editability
This commit is contained in:
Yuri Sizov 2023-05-19 17:17:13 +02:00 committed by GitHub
commit 605e25656f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

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