Skip to content

Commit

Permalink
Update window.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
rustbasic authored Nov 3, 2024
1 parent 9208495 commit 88d5331
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 88d5331

Please sign in to comment.