This commit is contained in:
libccy 2016-07-11 13:22:14 +08:00
parent 17cb0ba9e9
commit 77cd4d28a5
1 changed files with 3 additions and 3 deletions

View File

@ -3253,9 +3253,6 @@
if(window.isNonameServer){
lib.config.mode='connect';
}
if(lib.device=='android'&&lib.config.layout=='phone'&&window.devicePixelRatio>1&&document.documentElement.offsetWidth<960){
document.documentElement.style.zoom=document.documentElement.offsetWidth/960;
}
for(i in character.pack){
if(lib.config.hiddenCharacterPack.indexOf(i)==-1){
@ -3347,6 +3344,9 @@
game.saveConfig('layout','phone');
game.saveConfig('confirm_exit',true);
}
if(lib.device=='android'&&lib.config.layout=='phone'&&window.devicePixelRatio>1&&document.documentElement.offsetWidth<960){
document.documentElement.style.zoom=document.documentElement.offsetWidth/960;
}
if(lib.config.extensions.length){
window.resetExtension=function(){