export Window

pull/426/head
Lucas Nogueira 2 years ago
parent c9be18d8d6
commit 6b673ab249
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

@ -7,6 +7,7 @@
PhysicalPosition,
Effect,
EffectState,
Window
} from "@tauri-apps/plugin-window";
import { open as openDialog } from "@tauri-apps/plugin-dialog";
import { open } from "@tauri-apps/plugin-shell";
@ -147,7 +148,7 @@
function createWindow() {
if (!newWindowLabel) return;
const webview = new WebviewWindow(newWindowLabel);
const webview = new Window(newWindowLabel);
windowMap[newWindowLabel] = webview;
webview.once("tauri://error", function () {
onMessage("Error creating new webview");

@ -2320,6 +2320,7 @@ async function availableMonitors(): Promise<Monitor[]> {
}
export {
Window,
CloseRequestedEvent,
getCurrent,
getAll,

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save