From d7b540314011f4c2db8f21b464ae45090f5f926b Mon Sep 17 00:00:00 2001 From: oc Date: Tue, 13 Mar 2018 10:16:44 +0800 Subject: [PATCH] Status Bar --- libs/control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/control.js b/libs/control.js index 314b6af9..4a0fdd2d 100644 --- a/libs/control.js +++ b/libs/control.js @@ -2172,7 +2172,7 @@ control.prototype.resize = function(clientWidth, clientHeight) { toolsWidth, toolsHeight,toolsMargin,toolsPMaxwidth, fontSize, toolbarFontSize, margin; - var count = 12; + var count = core.dom.statusBar.children.length; if (!core.flags.enableFloor) count--; if (!core.flags.enableLv) count--; if (!core.flags.enableHPMax) count--;