From e9d4dfe813f86d561ded06cfe147ade854564cf3 Mon Sep 17 00:00:00 2001 From: libccy Date: Fri, 20 Jan 2017 14:05:47 +0800 Subject: [PATCH] a --- game/game.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/game/game.js b/game/game.js index c67d64637..14c6518f6 100644 --- a/game/game.js +++ b/game/game.js @@ -30970,6 +30970,10 @@ } layer.addEventListener(lib.config.touchscreen?'touchend':'click',clicklayer); if(!lib.config.touchscreen) layer.oncontextmenu=clicklayer; + if(this.parentNode==ui.historybar&&lib.config.touchscreen){ + var rect=this.getBoundingClientRect(); + e={clientX:0,clientY:rect.top+30}; + } lib.placePoppedDialog(uiintro,e); if(this.parentNode==ui.historybar){ if(lib.config.show_history=='right'){