diff --git a/src/app/game/game.ts b/src/app/game/game.ts index 17eea63..31b613e 100644 --- a/src/app/game/game.ts +++ b/src/app/game/game.ts @@ -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; diff --git a/src/app/game/utils/touch-manager.ts b/src/app/game/utils/touch-manager.ts index d18e025..40b5bbb 100644 --- a/src/app/game/utils/touch-manager.ts +++ b/src/app/game/utils/touch-manager.ts @@ -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;