fix windows window resize bug

This commit is contained in:
2022-04-06 23:15:58 +08:00
parent 76e13856bd
commit 2f9e3b80ba
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -191,7 +191,9 @@ pub fn dev(config_path: String) -> wry::Result<()> {
event: WindowEvent::CloseRequested,
..
} => *control_flow = ControlFlow::Exit,
_ => (),
_ => {
let _ = webview.resize();
}
}
});
}