Skip to content

Commit

Permalink
Gizmo event fix (#6790)
Browse files Browse the repository at this point in the history
  • Loading branch information
slimbuck committed Jul 8, 2024
1 parent 128cd04 commit 74b0e65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extras/gizmo/gizmo.js
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ class Gizmo extends EventHandler {
this.fire(Gizmo.EVENT_POINTERUP);
};

this._device.canvas.addEventListener('pointerdown', this._onPointerDown);
this._device.canvas.addEventListener('pointermove', this._onPointerMove);
this._device.canvas.addEventListener('pointerdown', this._onPointerDown, true);
this._device.canvas.addEventListener('pointermove', this._onPointerMove, true);
this._device.canvas.addEventListener('pointerup', this._onPointerUp);

app.on('update', () => this._updateScale());
Expand Down

0 comments on commit 74b0e65

Please sign in to comment.