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 23, 2024
1 parent 64177c0 commit b714c26
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/egui/src/containers/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,8 +761,6 @@ fn resize_response(
if let Some(mut state) = resize::State::load(ctx, resize_id) {
state.requested_size = Some(new_rect.size() - resize.margins);
state.last_content_size = Vec2::ZERO;
state.largest_content_size =
(new_rect.size()).at_most(resize.max_size) - resize.margins;
state.store(ctx, resize_id);
}
}
Expand Down

0 comments on commit b714c26

Please sign in to comment.