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

Function stopRectAnimation

packages/config/src/window-animation.ts:115–121  ·  view source on GitHub ↗
(
    window: WaylandWindow,
    windowRectState: WindowStateKey<ManagedWindowRect>,
)

Source from the content-addressed store, hash-verified

113}
114
115export function stopRectAnimation(
116 window: WaylandWindow,
117 windowRectState: WindowStateKey<ManagedWindowRect>,
118): void {
119 setActiveRectTarget(window, windowRectState, undefined);
120 window.cancelAnimation(rectAnimationChannel(windowRectState));
121}

Callers 13

onWindowResizeMethod · 0.90
onWindowMoveMethod · 0.90
onFloatingWindowMoveMethod · 0.90
applyLayoutMethod · 0.90
resizeTileMethod · 0.90
beginTileDragMethod · 0.90
adoptTileDragWindowMethod · 0.90
adoptFloatingWindowMethod · 0.90
updateTileDragMethod · 0.90

Calls 3

setActiveRectTargetFunction · 0.85
rectAnimationChannelFunction · 0.85
cancelAnimationMethod · 0.80

Tested by

no test coverage detected