(canvas: HTMLCanvasElement, delegate: CanvasInputHandlerDelegate)
| 28 | private readonly DRAG_THRESHOLD = 2; |
| 29 | |
| 30 | constructor(canvas: HTMLCanvasElement, delegate: CanvasInputHandlerDelegate) { |
| 31 | this.canvas = canvas; |
| 32 | this.delegate = delegate; |
| 33 | this.setupEventListeners(); |
| 34 | } |
| 35 | |
| 36 | private setupEventListeners(): void { |
| 37 | this.canvas.addEventListener('wheel', this.handleWheel.bind(this)); |
nothing calls this directly
no test coverage detected