Skip to content

Commit

Permalink
Merge pull request #46 from mounirtohami/button-minimum-size
Browse files Browse the repository at this point in the history
Update `Button` minimum size when disabled is toggled.
  • Loading branch information
Bioblaze authored Oct 17, 2024
2 parents 4d87095 + d559e79 commit 9a9cc1b
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 @@ -208,6 +208,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 9a9cc1b

Please sign in to comment.