Skip to content

Commit

Permalink
Merge pull request godotengine#97897 from WhalesState/button-min-size
Browse files Browse the repository at this point in the history
Fix `Button` minimum size when `disabled` is toggled.
  • Loading branch information
Repiteo committed Nov 11, 2024
2 parents e964811 + 3db9bdf commit 16cd7b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scene/gui/base_button.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 16cd7b4

Please sign in to comment.