From d1ff3662a2494a639d075eb9ac0d848603dcc976 Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Tue, 31 Dec 2019 12:49:46 +0800 Subject: [PATCH] lastUsed --- _server/editor_ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_server/editor_ui.js b/_server/editor_ui.js index c5f4677d..ad37245e 100644 --- a/_server/editor_ui.js +++ b/_server/editor_ui.js @@ -49,7 +49,7 @@ editor_ui_wrapper = function (editor) { } } if (unselect) { - if (clickpath.indexOf('eui') === -1 && clickpath.indexOf('lastUsed')) { + if (clickpath.indexOf('eui') === -1 && clickpath.indexOf('lastUsed') === -1) { if (selectBox.isSelected()) { editor_mode.onmode(''); editor.file.saveFloorFile(function (err) {