We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adjust UI and canvas size when a mobile device like the iPhone rotates. Some old code from Events.js:
//if (Prototype.Browser.MobileSafari) { // addEventListener("load", function() { setTimeout(updateLayout, 0) }, false) // var currentWidth = 0; // function updateLayout() { // if (window.innerWidth != currentWidth) { // currentWidth = window.innerWidth; // var orient = currentWidth == 320 ? "profile" : "landscape"; // document.body.setAttribute("orient", orient); // setTimeout(function() { // window.scrollTo(0, 1); // }, 100); // } // } // setInterval(updateLayout, 400); //}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Adjust UI and canvas size when a mobile device like the iPhone rotates.
Some old code from Events.js:
//if (Prototype.Browser.MobileSafari) {
// addEventListener("load", function() { setTimeout(updateLayout,
0) }, false)
// var currentWidth = 0;
// function updateLayout() {
// if (window.innerWidth != currentWidth) {
// currentWidth = window.innerWidth;
// var orient = currentWidth == 320 ? "profile" :
"landscape";
// document.body.setAttribute("orient", orient);
// setTimeout(function() {
// window.scrollTo(0, 1);
// }, 100);
// }
// }
// setInterval(updateLayout, 400);
//}
The text was updated successfully, but these errors were encountered: