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

Function cancelWorkspaceVisualAnimation

packages/config/src/window-manager.ts:4676–4680  ·  view source on GitHub ↗
(window: WaylandWindow)

Source from the content-addressed store, hash-verified

4674 ? restoredInitialActiveWindowId
4675 : tileable[Math.min(windowIndex, tileable.length - 1)]?.id) ?? null;
4676 }
4677 } else {
4678 const contentRect = window.state[WINDOW_STATE_FLOATING_RECT]();
4679 const viewportRect = contentRect
4680 ? this.floatingContentRectToViewportRect(contentRect)
4681 : window.state[WINDOW_STATE_RECT]();
4682 window.state[WINDOW_STATE_FLOATING_RECT].set(viewportRect);
4683 this.setTileWidthFromRect(window, viewportRect, true);

Callers 3

Calls 1

cancelAnimationMethod · 0.80

Tested by

no test coverage detected