Merge branch 'develop' of github.com:thecodingmachine/workadventure into develop
This commit is contained in:
commit
9a17af1a74
@ -26,7 +26,7 @@ export class GameSceneUserInputHandler implements UserInputHandlerInterface {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public handlePointerUpEvent(pointer: Phaser.Input.Pointer, gameObjects: Phaser.GameObjects.GameObject[]): void {
|
public handlePointerUpEvent(pointer: Phaser.Input.Pointer, gameObjects: Phaser.GameObjects.GameObject[]): void {
|
||||||
if (pointer.rightButtonReleased() || pointer.getDuration() > 250) {
|
if ((!pointer.wasTouch && pointer.leftButtonReleased()) || pointer.getDuration() > 250) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user