Jump to content

ipad, open link, lock device, unlock device, canvas magnified...


Recommended Posts

it done, and i can't delete this...


i used to create engine by var engine = new BABYLON.Engine(canvas, true, null, true); //because some time before, change orient in pad will make canvas magnify....so i use this. but it seems not need it now.


and change to var engine = new BABYLON.Engine(canvas, true);// will be ok...

Link to comment
Share on other sites

15 hours ago, Temechon said:

Sadly I don't have any iPad to test it. Did you try to call engine.resize() ?

window.addEventListener("resize", function() {engine.resize();});

yes, i always has this code.

when size wrong, i make orient change twice, and size will be right.


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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