替换按钮颜色

This commit is contained in:
ckcz123 2020-05-24 18:59:18 +08:00
parent fc5623514b
commit 5f7bdb781b
4 changed files with 8 additions and 3 deletions

View File

@ -147,7 +147,7 @@ editor_blockly = function () {
editor_blockly.highlightParse = function (shouldHighLight) {
if (shouldNotifyParse == shouldHighLight) return;
shouldNotifyParse = shouldHighLight;
blocklyParseBtn.style.background = shouldNotifyParse ? '#FFCCAA' : 'unset';
blocklyParseBtn.style.background = shouldNotifyParse ? '#fff4bb' : 'unset';
}
editor_blockly.cancel = function () {

View File

@ -830,7 +830,7 @@ editor_mappanel_wrapper = function (editor) {
editor.uifunctions.highlightSaveFloorButton=function(){
var saveFloor = document.getElementById('saveFloor');
saveFloor.style.background='#FFCCAA';
saveFloor.style.background='#fff4bb';
}
editor.uifunctions.unhighlightSaveFloorButton=function(){

View File

@ -71,7 +71,7 @@ editor_table_wrapper = function (editor) {
<td>----</td>
<td>----</td>
<td>${field}</td>
<td><button style="background: #FFCCAA" onclick='editor.table.onFoldBtnClick(this)' data-fold="${ status ? "true" : "false" }">${ status ? "展开" : "折叠" }</button></td>
<td><button style="background: #fff4bb" onclick='editor.table.onFoldBtnClick(this)' data-fold="${ status ? "true" : "false" }">${ status ? "展开" : "折叠" }</button></td>
</tr>\n`
}

View File

@ -83,6 +83,11 @@ if (functions_d6ad677b_427a_4623_b50f_a445a3b0ef8a.events.setInitData || !plugin
<li>「绘制圆」「绘制圆边框」「重启当前事件」已经被删除,并且无法再在游戏中使用,请替换成等价的写法。</li>
</ul>
</li>
<li>其他
<ul>
<li>V2.7默认采用新版图标;如果觉得不合适可以将<code>materials</code>目录下的<code>icons_old.png</code>替换掉<code>icons.png</code>以使用原版图标。</li>
</ul>
</li>
<li><b style='color:red'>接档后请做好充分的测试!最好能跑通录像以确认接档无误!</b></li>
</ol>
</p>