Skip to content

Commit

Permalink
Update window.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Dec 17, 2024
1 parent 6af90c8 commit cc6e9bd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/egui/src/containers/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,8 @@ impl<'open> Window<'open> {
x: outer_rect.size().x,
y: title_bar_height,
},
);
)
.shrink(frame_stroke.width);

title_rect = area_content_ui.painter().round_rect_to_pixels(title_rect);

Expand Down

0 comments on commit cc6e9bd

Please sign in to comment.