pokerogue
pokerogue copied to clipboard
[v2] Automatically center window vertically when playing on landscape
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
-
width >= 1920