mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +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.allTabViews = new Map<string, WaveTabView>();
|
||||
win.on(
|
||||
// @ts-expect-error
|
||||
"resize",
|
||||
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
||||
);
|
||||
@ -411,6 +412,7 @@ function createBaseWaveBrowserWindow(
|
||||
positionTabOnScreen(win.activeTabView, win.getContentBounds());
|
||||
});
|
||||
win.on(
|
||||
// @ts-expect-error
|
||||
"move",
|
||||
debounce(400, (e) => mainResizeHandler(e, waveWindow.oid, win))
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user