mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
parent
3f84381ea9
commit
9fbcc02454
5
.changes/api-fix-double-window.md
Normal file
5
.changes/api-fix-double-window.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"api": patch
|
||||
---
|
||||
|
||||
Fix double window creation
|
File diff suppressed because one or more lines are too long
@ -1108,8 +1108,10 @@ class WebviewWindow extends WindowManager {
|
||||
}
|
||||
|
||||
/** The WebviewWindow for the current window. */
|
||||
// @ts-expect-error
|
||||
const appWindow = new WebviewWindow()
|
||||
const appWindow = new WebviewWindow(window.__TAURI__.__currentWindow.label, {
|
||||
// @ts-expect-error
|
||||
skip: true
|
||||
})
|
||||
|
||||
/** Configuration for the window to create. */
|
||||
interface WindowOptions {
|
||||
|
Loading…
Reference in New Issue
Block a user