diff --git a/_server/editor.js b/_server/editor.js index 665691c9..24cad596 100644 --- a/_server/editor.js +++ b/_server/editor.js @@ -396,17 +396,21 @@ editor.prototype.drawEventBlock = function () { editor.game.doCoreFunc("fillBoldText", fg, index + 1, 32 * i + 28, 32 * j + 15, '#FF7F00', null, '14px Verdana'); } + var offset = 0; if (editor.currentFloorData.upFloor && editor.currentFloorData.upFloor.toString() == loc) { fg.textAlign = 'left'; - editor.game.doCoreFunc("fillText", fg, "🔼", 32 * i, 32 * j + 8, null, "8px Verdana"); + editor.game.doCoreFunc("fillText", fg, "🔼", 32 * i + offset, 32 * j + 8, null, "8px Verdana"); + offset += 8; } if (editor.currentFloorData.downFloor && editor.currentFloorData.downFloor.toString() == loc) { fg.textAlign = 'left'; - editor.game.doCoreFunc("fillText", fg, "🔽", 32 * i, 32 * j + 8, null, "8px Verdana"); + editor.game.doCoreFunc("fillText", fg, "🔽", 32 * i + offset, 32 * j + 8, null, "8px Verdana"); + offset += 8; } if (editor.currentFloorData.flyPoint && editor.currentFloorData.flyPoint.toString() == loc) { fg.textAlign = 'left'; - editor.game.doCoreFunc("fillText", fg, "🔃", 32 * i, 32 * j + 8, null, "8px Verdana"); + editor.game.doCoreFunc("fillText", fg, "🔃", 32 * i + offset, 32 * j + 8, null, "8px Verdana"); + offset += 8; } } }