Skip to content

Commit

Permalink
Tome of Skelos is not readable on some iPhones #175
Browse files Browse the repository at this point in the history
  • Loading branch information
rafdulaf committed Sep 18, 2023
1 parent b7e60f2 commit de4558e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Batman/engine/Version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.24.11"
"version": "0.24.12"
}
3 changes: 2 additions & 1 deletion Batman/engine/rules/autozoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ function autoZoom() {
var zoom = Math.floor(window.innerWidth / width * 10000.0) / 10000.0;

document.body.style.overflow = "hidden";
if (navigator.userAgent.indexOf('Firefox') != -1)
if (navigator.userAgent.indexOf('Firefox') != -1
|| navigator.userAgent.indexOf("Safari") != -1)
{
document.body.style.transform = "scale(" + zoom + ")";
document.body.style.transformOrigin = "top left";
Expand Down
2 changes: 1 addition & 1 deletion Conan/engine/Version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "0.24.11"
"version": "0.24.12"
}
3 changes: 2 additions & 1 deletion Conan/engine/rules/autozoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ function autoZoom() {
var zoom = Math.floor(window.innerWidth / width * 10000.0) / 10000.0;

document.body.style.overflow = "hidden";
if (navigator.userAgent.indexOf('Firefox') != -1)
if (navigator.userAgent.indexOf('Firefox') != -1
|| navigator.userAgent.indexOf("Safari") != -1)
{
document.body.style.transform = "scale(" + zoom + ")";
document.body.style.transformOrigin = "top left";
Expand Down

0 comments on commit de4558e

Please sign in to comment.