diff --git a/lib/game/view/pinball_game_page.dart b/lib/game/view/pinball_game_page.dart index 44336aee..2515dd19 100644 --- a/lib/game/view/pinball_game_page.dart +++ b/lib/game/view/pinball_game_page.dart @@ -117,9 +117,9 @@ class PinballGameLoadedView extends StatelessWidget { final isPlaying = context.select( (StartGameBloc bloc) => bloc.state.status == StartGameStatus.play, ); - final widthInRatio = MediaQuery.of(context).size.height * 9 / 16; + final gameWidgetWidth = MediaQuery.of(context).size.height * 9 / 16; final screenWidth = MediaQuery.of(context).size.width; - final leftMargin = (screenWidth / 2) - (widthInRatio / 1.8); + final leftMargin = (screenWidth / 2) - (gameWidgetWidth / 1.8); return Stack( children: [