From f0407691ca0fce623727a1e926cab1a4cc3a83af Mon Sep 17 00:00:00 2001 From: rustbasic <127506429+rustbasic@users.noreply.github.com> Date: Thu, 2 May 2024 23:05:59 +0900 Subject: [PATCH] Update resize.rs --- crates/egui/src/containers/resize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/egui/src/containers/resize.rs b/crates/egui/src/containers/resize.rs index 7ff44e8165c..f2f59e59b85 100644 --- a/crates/egui/src/containers/resize.rs +++ b/crates/egui/src/containers/resize.rs @@ -209,7 +209,7 @@ impl Resize { State { desired_size: self.default_size, - last_content_size: self.default_size - margins, + last_content_size: vec2(0.0, 0.0), requested_size: None, } });