MCPcopy Create free account
hub / github.com/bea4dev/ShojiWM / step

Method step

packages/config/src/window-manager.ts:3790–3811  ·  view source on GitHub ↗
(dtMs: number)

Source from the content-addressed store, hash-verified

3788 this.lastAppliedTileViewportRect &&
3789 managedRectEquals(this.lastAppliedTileViewportRect, nextViewportRect)
3790 ) {
3791 return;
3792 }
3793 this.applyLayout({
3794 suppressSSDRebuild: false,
3795 animate: false,
3796 preserveMissingActive: true,
3797 });
3798 return;
3799 }
3800
3801 for (const window of this.windows) {
3802 if (!window.state[WINDOW_STATE_MAXIMIZED]()) {
3803 continue;
3804 }
3805 stopRectAnimation(window, WINDOW_STATE_RECT);
3806 window.state[WINDOW_STATE_RECT].set(this.maximizedRootRect(window));
3807 }
3808 }
3809
3810 public setVisible(visible: boolean) {
3811 this.visibilityAnimationToken += 1;
3812 for (const window of this.windows) {
3813 this.syncWindowVisibleOutputs(window);
3814 if (window.state[WINDOW_STATE_TILE_DRAGGING]()) {

Callers

nothing calls this directly

Calls 2

scrollByMethod · 0.95
stopKineticScrollMethod · 0.95

Tested by

no test coverage detected