You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One effect of this is the game canvas appearing too big (doesn't fit in screen) in portrait/landscape on Chrome Android.
I remedy this in my fork by removing the content block and dealing with the scaling natively with Android/Capacitor.
I imagine there is a more elegant way to deal with setting/updating the size of the viewport for a consistent experience and will help look into this myself.
The text was updated successfully, but these errors were encountered:
The following code at
https://github.com/2004scape/Client2/blob/95f0a33a4e6c1125d6d5591653e762d170913cc0/src/html/index.html#L8C31-L8C120
effectively hardcodes the scaling factor
One effect of this is the game canvas appearing too big (doesn't fit in screen) in portrait/landscape on Chrome Android.
I remedy this in my fork by removing the content block and dealing with the scaling natively with Android/Capacitor.
I imagine there is a more elegant way to deal with setting/updating the size of the viewport for a consistent experience and will help look into this myself.
The text was updated successfully, but these errors were encountered: