Skip to content

Commit

Permalink
fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Mar 10, 2024
1 parent a022ed4 commit 23666ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mapbox/src/mapbox-overlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ export default class MapboxOverlay implements IControl {

switch (mockEvent.type) {
case 'mousedown':
deck._onPointerDown(mockEvent as MjolnirGestureEvent);
deck._onPointerDown(mockEvent as MjolnirPointerEvent);
this._lastMouseDownPoint = {
...event.point,
clientX: event.originalEvent.clientX,
Expand Down

0 comments on commit 23666ca

Please sign in to comment.