From e5903b2e6e54dbf7e2509f34757860597a8d1fa8 Mon Sep 17 00:00:00 2001 From: oc Date: Tue, 23 Apr 2019 00:15:59 +0800 Subject: [PATCH] newline in drawEquipbox_statusChanged --- libs/ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/ui.js b/libs/ui.js index 69fefdb0..788d92b2 100644 --- a/libs/ui.js +++ b/libs/ui.js @@ -2045,7 +2045,7 @@ ui.prototype._drawEquipbox_drawStatusChanged = function (info, y, equip, equipTy var img = core.statusBar.icons[name]; var text = core.getStatusName(name); if (img && core.flags.iconInEquipbox) { // 绘制图标 - core.drawImage('ui', img, 0, 0, 32, 32, obj.drawOffset, y - 13, 16, 16); + core.drawImage('ui', img, 0, 0, 32, 32, obj.drawOffset, obj.y - 13, 16, 16); obj.drawOffset += 20; } else { // 绘制文字