Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stonko1994 committed Jan 14, 2025
1 parent c68eb5c commit 74089cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ts/components/overlays/TouchControlOverlay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ export class TouchControlOverlay extends Container<TouchControlOverlayConfig> {
if (this.couldBeDoubleTapping) {
this.onDoubleClickEvent(e);
} else {
this.onSingelClickEvent(e);
this.onSingleClickEvent(e);
}
this.couldBeDoubleTapping = true;
this.doubleTapTimeout.start();
Expand All @@ -194,7 +194,7 @@ export class TouchControlOverlay extends Container<TouchControlOverlayConfig> {
this.touchControlEvents.onDoubleClick.dispatch(this, e);
}

protected onSingelClickEvent(e: Event) {
protected onSingleClickEvent(e: Event) {
this.touchControlEvents.onSingleClick.dispatch(this, e);
}

Expand Down

0 comments on commit 74089cb

Please sign in to comment.