Skip to content

Commit

Permalink
Update window.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored May 30, 2024
1 parent 993f88f commit e7d6af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/egui/src/containers/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1111,7 +1111,7 @@ impl TitleBar {
// Add close button now that we know our full width:
if self.close_button_ui(ui).clicked() {
*open = false;
resize::reset_largest_content_size(ui.ctx(), &resize);
resize::reset_largest_content_size(ui.ctx(), resize);
}
}

Expand Down

0 comments on commit e7d6af9

Please sign in to comment.