Fix gestures when isHud = true and camera is transformed (#843)

* Fix gestures when isHud = true and camera is transformed

* Use Info instead of Event everywhere
This commit is contained in:
Lukas Klingsbo
2021-06-09 23:47:59 +02:00
committed by GitHub
parent 2c1bba8f86
commit 948f277e5d
29 changed files with 89 additions and 83 deletions

View File

@ -60,7 +60,7 @@ class BasicAnimations extends BaseGame with TapDetector {
}
@override
void onTapDown(TapDownInfo event) {
addAnimation(event.eventPosition.game);
void onTapDown(TapDownInfo info) {
addAnimation(info.eventPosition.game);
}
}