MCPcopy
hub / github.com/wavetermdev/waveterm / finalizePositioning

Method finalizePositioning

emain/emain-window.ts:495–507  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

493 }
494
495 private finalizePositioning() {
496 if (this.isDestroyed()) {
497 return;
498 }
499 const curBounds = this.getContentBounds();
500 this.activeTabView?.positionTabOnScreen(curBounds);
501 for (const tabView of this.allLoadedTabViews.values()) {
502 if (tabView == this.activeTabView) {
503 continue;
504 }
505 tabView?.positionTabOffScreen(curBounds);
506 }
507 }
508
509 async queueCreateTab() {
510 await this._queueActionInternal({ op: "createtab" });

Callers 2

constructorMethod · 0.95
setTabViewIntoWindowMethod · 0.95

Calls 2

positionTabOnScreenMethod · 0.80
positionTabOffScreenMethod · 0.80

Tested by

no test coverage detected