(event: MouseEvent)
| 100 | } |
| 101 | |
| 102 | private handleClick(event: MouseEvent): void { |
| 103 | const {currentPattern} = this.delegate.getCurrentCanvasState(); |
| 104 | if (currentPattern === null || !this.isClick) { |
| 105 | return; |
| 106 | } |
| 107 | |
| 108 | const patternCoords = this.getTransformedCoordinates( |
| 109 | this.getClickCoordinates({x: event.clientX, y: event.clientY})); |
| 110 | this.delegate.onClick(patternCoords); |
| 111 | } |
| 112 | } |
nothing calls this directly
no test coverage detected