mirror of
https://github.com/flame-engine/flame.git
synced 2025-11-01 10:38:17 +08:00
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:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user