(id: string)
| 152 | } |
| 153 | |
| 154 | function focusWindow(id: string) { |
| 155 | const w = windows.value[id] |
| 156 | if (w) { |
| 157 | w.zIndex = ++nextZIndex |
| 158 | activeWindowId.value = id |
| 159 | } |
| 160 | } |
| 161 | |
| 162 | function updatePosition(id: string, x: number, y: number) { |
| 163 | const w = windows.value[id] |
no outgoing calls
no test coverage detected