fix (regression): hide desktop window until initial render (#2614)
This commit is contained in:
1 parent
ecdc93232e
commit
bb52280a51
1 file changed
+2
-1
@@ -206,9 +206,10 @@ impl App {
|
||||
|
||||
pub fn handle_start_cause_init(&mut self) {
|
||||
let virtual_dom = self.unmounted_dom.take().unwrap();
|
||||
let cfg = self.cfg.take().unwrap();
|
||||
let mut cfg = self.cfg.take().unwrap();
|
||||
|
||||
self.is_visible_before_start = cfg.window.window.visible;
|
||||
cfg.window = cfg.window.with_visible(false);
|
||||
|
||||
let webview = WebviewInstance::new(cfg, virtual_dom, self.shared.clone());
|
||||
|
||||
|
||||
Reference in new issue
Block a user