1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 05:10:03 -04:00

remove WindowInfo { maximized }

This commit is contained in:
SunDoge
2022-11-26 11:51:27 +08:00
parent df19fa87d8
commit 2b819ee826
3 changed files with 11 additions and 10 deletions

View File

@@ -836,9 +836,6 @@ pub struct WindowInfo {
/// Current monitor size in egui points (logical pixels)
pub monitor_size: Option<egui::Vec2>,
/// Are we in maximize mode?
pub maximized: bool,
}
/// Information about the URL.

View File

@@ -41,7 +41,6 @@ pub fn read_window_info(window: &winit::window::Window, pixels_per_point: f32) -
y: size.height,
},
monitor_size,
maximized: window.is_maximized(),
}
}