(event: TouchEvent)
| 291 | this.hasUserControl = true; |
| 292 | } |
| 293 | onDocumentTouchStart(event: TouchEvent) { |
| 294 | if (event.touches.length !== 1) return; |
| 295 | const t = event.touches[0]; |
| 296 | if (!this.updateHoverState(t.clientX, t.clientY)) return; |
| 297 | if (this.onInteract) this.onInteract(); |
| 298 | this.setCoords(t.clientX, t.clientY); |
| 299 | this.hasUserControl = true; |
| 300 | } |
| 301 | onDocumentTouchMove(event: TouchEvent) { |
| 302 | if (event.touches.length !== 1) return; |
| 303 | const t = event.touches[0]; |
nothing calls this directly
no test coverage detected