(e: MouseEvent)
| 203 | } |
| 204 | |
| 205 | export function onContextMenu(e: MouseEvent) { |
| 206 | if (!targetIsTextField(e.target || undefined) && e.target !== textToolInteractiveInputElement) { |
| 207 | e.preventDefault(); |
| 208 | } |
| 209 | } |
| 210 | |
| 211 | export function onPointerLockChange() { |
| 212 | inPointerLock = Boolean(window.document.pointerLockElement); |
no test coverage detected