From 579a4363cc10d059e44defdcd1f4f89b40a29d24 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Sat, 31 Oct 2020 10:51:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A5=BC=E4=BC=A0=E8=90=BD=E7=82=B9=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E5=8A=A0=E6=A0=87=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _server/editor.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/_server/editor.js b/_server/editor.js index 580e03a5..665691c9 100644 --- a/_server/editor.js +++ b/_server/editor.js @@ -396,6 +396,18 @@ editor.prototype.drawEventBlock = function () { editor.game.doCoreFunc("fillBoldText", fg, index + 1, 32 * i + 28, 32 * j + 15, '#FF7F00', null, '14px Verdana'); } + 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"); + } + 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"); + } + 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"); + } } } }