(
window: WaylandWindow,
viewportRect: ManagedWindowRect,
)
| 3988 | if (animate) { |
| 3989 | playRectAnimation( |
| 3990 | window, |
| 3991 | WINDOW_STATE_RECT, |
| 3992 | rect, |
| 3993 | WINDOW_MANAGEMENT_EASING, |
| 3994 | TILE_ANIMATION_DURATION, |
| 3995 | animationOptions, |
| 3996 | ); |
| 3997 | } else { |
| 3998 | if (options.cancelRectAnimations !== false) { |
| 3999 | stopRectAnimation(window, WINDOW_STATE_RECT); |
| 4000 | } |
| 4001 | window.state[WINDOW_STATE_RECT].set(rect); |
| 4002 | } |
| 4003 | } |
| 4004 | nextX += tileWidth + (index === tileable.length - 1 ? 0 : TILE_GAP); |
| 4005 | }); |
| 4006 | |
| 4007 | hotReloadDebug("workspace-apply-layout", { |
no test coverage detected