diff --git a/ui/src/main.rs b/ui/src/main.rs index 6258148..c79d3f4 100644 --- a/ui/src/main.rs +++ b/ui/src/main.rs @@ -228,6 +228,7 @@ impl ChessApp { egui::Vec2::new(resolution.0 as f32, resolution.1 as f32) )); } + ctx.send_viewport_cmd(egui::ViewportCommand::Fullscreen(self.fullscreen)); } async fn network_handler( server_port: String,