(t1, t2)
| 143 | |
| 144 | // Return distance between two touch points |
| 145 | function touchGap(t1, t2) { |
| 146 | const dx = t1.clientX - t2.clientX; |
| 147 | const dy = t1.clientY - t2.clientY; |
| 148 | return Math.hypot(dx, dy); |
| 149 | } |
| 150 | |
| 151 | function handleTouchStart(e) { |
| 152 | if (mode == IDLE && e.changedTouches.length == 1) { |
no outgoing calls
no test coverage detected
searching dependent graphs…