From 3e2d773f631a5ad1f390f1392f55ee3d47c76724 Mon Sep 17 00:00:00 2001 From: YouWei Zhao Date: Sat, 30 May 2020 10:29:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8F=B3=E9=94=AEbug&?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=93=BE=E6=8E=A5&=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=BC=BA=E5=88=B6=E6=88=98=E6=96=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _server/MotaAction.g4 | 3 ++- _server/editor_ui.js | 2 +- _server/table/comment.js | 1 + _server/table/data.comment.js | 1 + _server/table/events.comment.js | 1 + _server/table/functions.comment.js | 1 + _server/table/plugins.comment.js | 1 + 7 files changed, 8 insertions(+), 2 deletions(-) diff --git a/_server/MotaAction.g4 b/_server/MotaAction.g4 index a0d0e9c5..27be32d7 100644 --- a/_server/MotaAction.g4 +++ b/_server/MotaAction.g4 @@ -1,6 +1,6 @@ // 编辑此文件用的vscode插件: https://marketplace.visualstudio.com/items?itemName=zhaouv.vscode-mota-js-extension // 此文件通过antlr-blockly生成编辑器中的图块, 相关帮助说明: https://zhaouv.github.io/antlr-blockly/docs/#/README - +// 添加和修改图块的说明见 _docs/editor.md ~ http://127.0.0.1:1055/_docs/#/editor?id=修改事件编辑器 /* 特殊注入demo @@ -1454,6 +1454,7 @@ battle_1_s tooltip : battle: 强制战斗 helpUrl : https://h5mota.com/games/template/_docs/#/event?id=battle%EF%BC%9A%E5%BC%BA%E5%88%B6%E6%88%98%E6%96%97 default : ["","",""] +selectPoint : ["PosString_0", "PosString_1"] colour : this.mapColor var floorstr = ''; if (PosString_0 && PosString_1) { diff --git a/_server/editor_ui.js b/_server/editor_ui.js index 89baaebf..1753a49e 100644 --- a/_server/editor_ui.js +++ b/_server/editor_ui.js @@ -123,7 +123,7 @@ editor_ui_wrapper = function (editor) { if (e.button != 2 && !editor.isMobile) { editor.uifunctions.hideMidMenu(); } - if (clickpath.indexOf('down') !== -1 && editor.isMobile && clickpath.indexOf('midMenu') === -1) { + if (clickpath.indexOf('down') !== -1 && clickpath.indexOf('midMenu') === -1 && editor.isMobile && clickpath.indexOf('midMenu') === -1) { editor.uifunctions.hideMidMenu(); } if (clickpath.length >= 2 && clickpath[0].indexOf('id_') === 0) { editor.lastClickId = clickpath[0] } diff --git a/_server/table/comment.js b/_server/table/comment.js index d74c1d4f..42da4cbc 100644 --- a/_server/table/comment.js +++ b/_server/table/comment.js @@ -2,6 +2,7 @@ * 表格配置项。 * 在这里可以对表格中的各项显示进行配置,包括表格项、提示内容等内容。具体写法照葫芦画瓢即可。 * 本配置项包括:道具、怪物、图块属性、楼层属性等内容。 + * 相关文档 _docs/editor.md ~ http://127.0.0.1:1055/_docs/#/editor?id=修改表格 */ var comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { diff --git a/_server/table/data.comment.js b/_server/table/data.comment.js index 37929164..56732f60 100644 --- a/_server/table/data.comment.js +++ b/_server/table/data.comment.js @@ -2,6 +2,7 @@ * 表格配置项。 * 在这里可以对表格中的各项显示进行配置,包括表格项、提示内容等内容。具体写法照葫芦画瓢即可。 * 本配置项包括:全塔属性的配置项。 + * 相关文档 _docs/editor.md ~ http://127.0.0.1:1055/_docs/#/editor?id=修改表格 */ var data_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { diff --git a/_server/table/events.comment.js b/_server/table/events.comment.js index 79c11ef6..b911b38a 100644 --- a/_server/table/events.comment.js +++ b/_server/table/events.comment.js @@ -2,6 +2,7 @@ * 表格配置项。 * 在这里可以对表格中的各项显示进行配置,包括表格项、提示内容等内容。具体写法照葫芦画瓢即可。 * 本配置项包括:公共事件。 + * 相关文档 _docs/editor.md ~ http://127.0.0.1:1055/_docs/#/editor?id=修改表格 */ var events_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { diff --git a/_server/table/functions.comment.js b/_server/table/functions.comment.js index b0ab8a39..75f29375 100644 --- a/_server/table/functions.comment.js +++ b/_server/table/functions.comment.js @@ -2,6 +2,7 @@ * 表格配置项。 * 在这里可以对表格中的各项显示进行配置,包括表格项、提示内容等内容。具体写法照葫芦画瓢即可。 * 本配置项包括:脚本编辑。 + * 相关文档 _docs/editor.md ~ http://127.0.0.1:1055/_docs/#/editor?id=修改表格 */ var functions_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = { diff --git a/_server/table/plugins.comment.js b/_server/table/plugins.comment.js index 4f3ced54..b822dbc3 100644 --- a/_server/table/plugins.comment.js +++ b/_server/table/plugins.comment.js @@ -2,6 +2,7 @@ * 表格配置项。 * 在这里可以对表格中的各项显示进行配置,包括表格项、提示内容等内容。具体写法照葫芦画瓢即可。 * 本配置项包括:插件编写。 + * 相关文档 _docs/editor.md ~ http://127.0.0.1:1055/_docs/#/editor?id=修改表格 */ var plugins_comment_c456ea59_6018_45ef_8bcc_211a24c627dc = {