Skip to content
Code-Schnipsel Gruppen Projekte
Commit 0ffb2af9 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

fix: ipad resize window fixed

Übergeordneter b5b4d9fb
No related branches found
No related tags found
Keine zugehörigen Merge Requests gefunden
......@@ -412,6 +412,14 @@ define('qui/controls/windows/Popup', needle, function (QUI,
height = this.getOpeningHeight(),
width = this.getOpeningWidth();
var ios = SystemUtils.iOSversion();
if (ios) {
if (doc_size.y > QUI.getBodySize().y) {
doc_size.y = QUI.getBodySize().y;
}
}
var top = (doc_size.y - height) / 2;
var left = (doc_size.x - width) / 2;
......@@ -435,8 +443,6 @@ define('qui/controls/windows/Popup', needle, function (QUI,
}
// ios fix
var ios = SystemUtils.iOSversion();
if (ios) {
top = top + (document.body.getStyle('top').toInt() * -1);
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren