mirror of
https://github.com/infinilabs/coco-app.git
synced 2026-02-24 04:01:27 +01:00
fix: force check window to center on every show (#1044)
This commit is contained in:
@@ -401,6 +401,7 @@ async fn show_check(app_handle: AppHandle) {
|
||||
.get_webview_window(CHECK_WINDOW_LABEL)
|
||||
.expect("we have a check window");
|
||||
|
||||
window.center().unwrap();
|
||||
window.show().unwrap();
|
||||
window.unminimize().unwrap();
|
||||
window.set_focus().unwrap();
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
"minWidth": 340,
|
||||
"height": 260,
|
||||
"minHeight": 260,
|
||||
"center": false,
|
||||
"center": true,
|
||||
"decorations": false,
|
||||
"transparent": true,
|
||||
"maximizable": false,
|
||||
|
||||
Reference in New Issue
Block a user