From e99d43274bfc13689fba87576c682c710836a72f Mon Sep 17 00:00:00 2001 From: Madeline Sparkles Date: Mon, 6 May 2024 08:05:30 +0800 Subject: [PATCH] fully commenting out the is_init stuff until further notice --- crates/yakui-app/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/yakui-app/src/lib.rs b/crates/yakui-app/src/lib.rs index af6421a8..fdf93137 100644 --- a/crates/yakui-app/src/lib.rs +++ b/crates/yakui-app/src/lib.rs @@ -18,9 +18,10 @@ pub struct Graphics { window: yakui_winit::YakuiWinit, pub renderer: yakui_wgpu::YakuiWgpu, - + /* /// Tracks whether winit is still initializing is_init: bool, + */ } impl Graphics { @@ -105,8 +106,7 @@ impl Graphics { renderer, window, - - is_init: true, + /*is_init: true,*/ } } @@ -203,9 +203,9 @@ impl Graphics { // and causing issues. // // https://github.com/rust-windowing/winit/issues/2094 - if self.is_init { + /*if self.is_init { return false; - } + }*/ self.resize(*size); }