diff --git a/Http/SkinEditor/app.css b/Http/SkinEditor/app.css index eef6222..00e145d 100644 --- a/Http/SkinEditor/app.css +++ b/Http/SkinEditor/app.css @@ -62,10 +62,10 @@ body { .t-list { padding: 2px; margin: 0; + list-style: none; } .t-li { - list-style: none; padding: 0 4px; margin: 1px; cursor: pointer; @@ -198,7 +198,6 @@ input { .t-exp > .t-statement { margin: 0; - border: 0; border-left: solid 1px orangered; padding: 0 2px; } diff --git a/Http/SkinEditor/app.js b/Http/SkinEditor/app.js index 1860aa2..855e4c5 100644 --- a/Http/SkinEditor/app.js +++ b/Http/SkinEditor/app.js @@ -146,12 +146,12 @@ window.onload = function () { app.find("tbr").replaceWith(function () { return msg($(this).text()); }); - addAddButton(tree).on("click", function (event) { + addAddButton(tree).on("click", function () { if (clist) clist.remove(); }); tv.on("mousemove", null, null, onMouseMove); - $(".tgbtn").on("click", function (event) { + $(".tgbtn").on("click", function () { var btn = $(this); btn.toggleClass("tgbtn-active"); onToggleButtonClick(btn.attr("id"), btn.hasClass("tgbtn-active")); diff --git a/Http/SkinEditor/messages/en_US.js b/Http/SkinEditor/messages/en_US.js index 10d4b69..5cf5222 100644 --- a/Http/SkinEditor/messages/en_US.js +++ b/Http/SkinEditor/messages/en_US.js @@ -1,5 +1,4 @@ messages["en_US"] = { - "block.select": "Select {0}", "input.comp.anim": "animation", "input.comp.default": "component", "input.comp.image": "image sprite", @@ -172,7 +171,7 @@ messages["en_US"] = { "statement.exp.op.sub1": "-{0}", "statement.obj": "Create a container {0}", "statement.prop": "Set its {0} to {1}", - "statement.select": "{0} {1}", + "statement.select": "Select {0} {1}", "statement.select.anchor": "Select its anchor {0}", "statement.select.atanchor": "Select at its anchor {0}", "statement.select.exp": "If it matches the expression {0}", diff --git a/Http/SkinEditor/messages/zh_CN.js b/Http/SkinEditor/messages/zh_CN.js index 2fb8c9f..a4f8499 100644 --- a/Http/SkinEditor/messages/zh_CN.js +++ b/Http/SkinEditor/messages/zh_CN.js @@ -1,5 +1,4 @@ messages["zh_CN"] = { - "block.select": "选择 {0}", "input.comp.anim": "动画", "input.comp.default": "组件", "input.comp.image": "图片图形", @@ -172,7 +171,7 @@ messages["zh_CN"] = { "statement.exp.op.sub1": "-{0}", "statement.obj": "创建一个容器 {0}", "statement.prop": "设置属性 {0} 为 {1}", - "statement.select": "{0} {1}", + "statement.select": "选择 {0} {1}", "statement.select.anchor": "选择其 {0} 锚点", "statement.select.atanchor": "选择位于其 {0} 锚点", "statement.select.exp": "如果元素符合表达式 {0}",