This commit is contained in:
oc 2019-05-26 23:10:28 +08:00
parent 1e96491dd4
commit 0c6176f5f6
3 changed files with 7 additions and 6 deletions

View File

@ -1795,7 +1795,7 @@ yes和no均为必填项即用户点击确认或取消后执行的事件。
该事件会进行等待,直到所有可能的异步事件(异步动画除外)执行完毕。 该事件会进行等待,直到所有可能的异步事件(异步动画除外)执行完毕。
### previewUIUI绘制预览 ### previewUIUI绘制预览
此项可在地图编辑器中预览UI界面的绘制效果。 此项可在地图编辑器中预览UI界面的绘制效果。

View File

@ -1877,13 +1877,13 @@ return code;
previewUI_s previewUI_s
: 'UI绘制预览' '(双击此项可进行预览)' BGNL? Newline action+ BEND Newline : 'ui绘制并预览' '(双击此项可进行预览)' BGNL? Newline action+ BEND Newline
/* previewUI_s /* previewUI_s
tooltip : previewUI: UI绘制预览 tooltip : previewUI: ui绘制并预览
helpUrl : https://h5mota.com/games/template/_docs/#/event?id=previewUI%ef%bc%9aUI%e7%bb%98%e5%88%b6%e9%a2%84%e8%a7%88 helpUrl : https://h5mota.com/games/template/_docs/#/event?id=previewUI%ef%bc%9aUI%e7%bb%98%e5%88%b6%e5%b9%b6%e9%a2%84%e8%a7%88
colour : this.commentColor colour : this.subColor
var code = ['{"type": "previewUI", "action": [\n', action_0,']},\n'].join(''); var code = ['{"type": "previewUI", "action": [\n', action_0,']},\n'].join('');
return code; return code;
*/; */;
@ -2007,7 +2007,7 @@ drawTextContent_s
tooltip : drawTextContent绘制多行文本 tooltip : drawTextContent绘制多行文本
helpUrl : https://h5mota.com/games/template/_docs/#/event?id=drawTextContent%ef%bc%9a%e7%bb%98%e5%88%b6%e5%a4%9a%e8%a1%8c%e6%96%87%e6%9c%ac helpUrl : https://h5mota.com/games/template/_docs/#/event?id=drawTextContent%ef%bc%9a%e7%bb%98%e5%88%b6%e5%a4%9a%e8%a1%8c%e6%96%87%e6%9c%ac
colour : this.subColor colour : this.subColor
default : ["绘制多行文本\\n第二行","0","0","","",'rgba(255,255,255,1)',null,"","",false] default : ["绘制多行文本\\n可双击编辑","0","0","","",'rgba(255,255,255,1)',null,"","",false]
var colorRe = MotaActionFunctions.pattern.colorRe; var colorRe = MotaActionFunctions.pattern.colorRe;
TextAlign_List_0 = TextAlign_List_0==='null'?'': ', "align": "'+TextAlign_List_0+'"'; TextAlign_List_0 = TextAlign_List_0==='null'?'': ', "align": "'+TextAlign_List_0+'"';
Bool_0 = Bool_0 ? (', "bold": true') : ''; Bool_0 = Bool_0 ? (', "bold": true') : '';

View File

@ -624,6 +624,7 @@ function omitedcheckUpdateFunction(event) {
'function_s': 'RawEvalString_0', 'function_s': 'RawEvalString_0',
'shopsub': 'EvalString_3', 'shopsub': 'EvalString_3',
'confirm_s': 'EvalString_0', 'confirm_s': 'EvalString_0',
'drawTextContent_s': 'EvalString_0',
} }
var f = b ? textStringDict[b.type] : null; var f = b ? textStringDict[b.type] : null;
if (f) { if (f) {