(_event: GridEvent)
| 186 | } |
| 187 | |
| 188 | const onGridDoubleClick = (_event: GridEvent) => { |
| 189 | if (!currentLevelId) return |
| 190 | if (points.length >= 3) { |
| 191 | const slabId = commitSlabDrawing(currentLevelId, points) |
| 192 | setSelection({ selectedIds: [slabId] }) |
| 193 | setPoints([]) |
| 194 | useAlignmentGuides.getState().clear() |
| 195 | } |
| 196 | } |
| 197 | |
| 198 | const onCancel = () => { |
| 199 | if (points.length > 0) markToolCancelConsumed() |
nothing calls this directly
no test coverage detected
searching dependent graphs…