Jump to content

SHOW_ALL not resizing when mobile address bar comes up


ptotheaul
 Share

Recommended Posts

I have a game using SHOW_ALL for the scaling. It works fine if I don’t inject the canvas into a div but if I put the canvas in:

<div id='gamecontain'></div>

in landscape on mobile if the address bar comes up the game does not resize and gets cut off at the bottom(it does resize if the div isn’t in the page). Any ideas how to get the canvas to resize correctly?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...