From cc6e9bd0c7dc7b679d3a874f81ce3fdd0febd3dc Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Tue, 17 Dec 2024 17:42:19 +0900 Subject: [PATCH] Update window.rs --- crates/egui/src/containers/window.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/egui/src/containers/window.rs b/crates/egui/src/containers/window.rs index e2d133f39ad..6747840e9df 100644 --- a/crates/egui/src/containers/window.rs +++ b/crates/egui/src/containers/window.rs @@ -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);