mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 19:42:43 +00:00
Merge pull request #97897 from WhalesState/button-min-size
Fix `Button` minimum size when `disabled` is toggled.
This commit is contained in:
commit
16cd7b4a7e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user