Skip to content

Commit

Permalink
refactor(touch-manager): WIP try improving multi-touch behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuher committed Jan 1, 2025
1 parent c538efe commit a125b5d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/app/game/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ export class Game extends Engine {
canvasElementId: 'game',
suppressConsoleBootMessage: true,
antialiasing: true,
suppressHiDPIScaling: true,
pointerScope: PointerScope.Document
suppressHiDPIScaling: true
});

this.raceConfig = raceConfig;
Expand Down
3 changes: 0 additions & 3 deletions src/app/game/utils/touch-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ export class TouchManager {
private engine: Engine;

public isTouching = false;
// public isTouchingBack = false;
// public isTouchingLeft = false;
// public isTouchingRight = false;

constructor(engine: Engine) {
this.engine = engine;
Expand Down

0 comments on commit a125b5d

Please sign in to comment.