24 lines
596 B
TypeScript
24 lines
596 B
TypeScript
'use client'
|
|
|
|
import { WindowAnimationSystem, WindowSystem } from '@pascal-app/viewer'
|
|
|
|
/**
|
|
* Registry-driven window system bundle.
|
|
*
|
|
* - **`WindowSystem`** — rebuilds frame / sash / divider / sill /
|
|
* muntin geometry. Cascades dirty to parent wall for the cutout.
|
|
* - **`WindowAnimationSystem`** — advances sash/panel open state at
|
|
* frame priority 2, then marks the window dirty for the geometry
|
|
* rebuild at priority 3.
|
|
*/
|
|
const WindowSystems = () => {
|
|
return (
|
|
<>
|
|
<WindowAnimationSystem />
|
|
<WindowSystem />
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default WindowSystems
|