From b11567568b0631c0fcf26038871d541fc2ef970d Mon Sep 17 00:00:00 2001 From: libccy Date: Mon, 11 Jul 2016 15:52:54 +0800 Subject: [PATCH] b --- game/game.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/game/game.js b/game/game.js index 96ee996da..4fddb0f2d 100755 --- a/game/game.js +++ b/game/game.js @@ -18875,7 +18875,12 @@ active._link.remove(); } this.classList.add('active'); - menuTabBar.style.left=this.offsetLeft+'px'; + if(game.deviceZoom!=1){ + menuTabBar.style.left=(this.offsetLeft/game.documentZoom)+'px'; + } + else{ + menuTabBar.style.left=this.offsetLeft+'px'; + } menuContent.appendChild(this._link); }; ui.click.menuTab=function(tab){