From 10528ec7e1381e453c2fc485e136ca73bc3154ed Mon Sep 17 00:00:00 2001 From: Erick Zanardo Date: Tue, 22 Mar 2022 16:56:58 -0300 Subject: [PATCH] fix: camera position --- lib/game/pinball_game.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/game/pinball_game.dart b/lib/game/pinball_game.dart index c23fa095..4c4aee8f 100644 --- a/lib/game/pinball_game.dart +++ b/lib/game/pinball_game.dart @@ -43,7 +43,7 @@ class PinballGame extends Forge2DGame // Fix camera on the center of the board size camera - ..followVector2(screenToWorld(boardSize / 2)) + ..followVector2(Vector2.zero()) ..zoom = size.y / 14; }