(_event: GridEvent)
| 209 | } |
| 210 | |
| 211 | const onGridDoubleClick = (_event: GridEvent) => { |
| 212 | if (!currentLevelId) return |
| 213 | if (points.length >= 3) { |
| 214 | const ceilingId = commitCeilingDrawing(currentLevelId, points) |
| 215 | setSelection({ selectedIds: [ceilingId] }) |
| 216 | setPoints([]) |
| 217 | useAlignmentGuides.getState().clear() |
| 218 | } |
| 219 | } |
| 220 | |
| 221 | const onCancel = () => { |
| 222 | if (points.length > 0) markToolCancelConsumed() |
nothing calls this directly
no test coverage detected
searching dependent graphs…