pokerogue icon indicating copy to clipboard operation
pokerogue copied to clipboard

[v2] Automatically center window vertically when playing on landscape

Open torranx opened this issue 9 months ago • 19 comments

PLEASE REFER HERE FOR UPDATED DESCRIPTION


This PR includes changes from 851

Only added the check if window width < 1920 - this should prevent applying the align-items: center property when the game window is scaled up.

There is another cleaner approach to achieving this through phaser but this would require a reload. If forcing a reload is okay, then that approach is better, otherwise this is.

  • width < 1920 Screenshot 2024-05-19 at 5 46 38 AM

  • width >= 1920 Screenshot 2024-05-19 at 5 49 38 AM

torranx avatar May 18 '24 21:05 torranx