mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-05 19:08:59 +01:00
fix expect-error in viewmgr
This commit is contained in:
parent
46783ba315
commit
7eeb6e89f5
@ -401,6 +401,7 @@ function createBaseWaveBrowserWindow(
|
|||||||
win.alreadyClosed = false;
|
win.alreadyClosed = false;
|
||||||
win.allTabViews = new Map<string, WaveTabView>();
|
win.allTabViews = new Map<string, WaveTabView>();
|
||||||
win.on(
|
win.on(
|
||||||
|
// @ts-expect-error
|
||||||
"resize",
|
"resize",
|
||||||
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
||||||
);
|
);
|
||||||
@ -411,6 +412,7 @@ function createBaseWaveBrowserWindow(
|
|||||||
positionTabOnScreen(win.activeTabView, win.getContentBounds());
|
positionTabOnScreen(win.activeTabView, win.getContentBounds());
|
||||||
});
|
});
|
||||||
win.on(
|
win.on(
|
||||||
|
// @ts-expect-error
|
||||||
"move",
|
"move",
|
||||||
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user