From 4d19d22b3fdacd503fbc95bc194e9ee3adf33cb2 Mon Sep 17 00:00:00 2001 From: Junkui Zhang <364772080@qq.com> Date: Fri, 3 May 2024 10:08:29 +0800 Subject: [PATCH] fix example --- crates/gpui/examples/image/image.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/gpui/examples/image/image.rs b/crates/gpui/examples/image/image.rs index 32bf205e83..e1e82d8d4a 100644 --- a/crates/gpui/examples/image/image.rs +++ b/crates/gpui/examples/image/image.rs @@ -79,10 +79,10 @@ fn main() { ..Default::default() }), - bounds: Some(Bounds { + window_bounds: Some(WindowBounds::Windowed(Bounds { size: size(px(1100.), px(600.)).into(), origin: Point::new(DevicePixels::from(200), DevicePixels::from(200)), - }), + })), ..Default::default() };