Merge pull request #97897 from WhalesState/button-min-size

Fix `Button` minimum size when `disabled` is toggled.
This commit is contained in:
Thaddeus Crews 2024-11-11 14:18:36 -06:00
commit 16cd7b4a7e
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84

View File

@ -205,6 +205,7 @@ void BaseButton::set_disabled(bool p_disabled) {
status.pressing_inside = false;
}
queue_redraw();
update_minimum_size();
}
bool BaseButton::is_disabled() const {