mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
Fix Button
minimum size when disabled
is toggled.
This commit is contained in:
parent
db66bd35af
commit
3db9bdf8d8
@ -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