This commit is contained in:
ckcz123 2019-12-30 19:05:33 +08:00
parent 97ba00cb33
commit 1d271648d2
5 changed files with 21 additions and 1 deletions

View File

@ -40,7 +40,7 @@ body {
width: 104px;
}
#left, #mid, #right {
#left, #mid, #mid2, #right {
border-radius: 2px;
box-sizing: border-box;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12);
@ -130,6 +130,14 @@ body {
height: 630px;
}
#mid2 {
position: absolute;
left: 448px;
top: 650px;
width: 440px;
bottom: 10px;
}
#mapEdit {
overflow: hidden;
}

View File

@ -110,6 +110,10 @@ body {
position: absolute;
}
#mid2 {
display: none;
}
#mapEdit {
overflow: hidden;
}

View File

@ -229,6 +229,7 @@ editor_mappanel_wrapper = function (editor) {
editor.uivalues.stepPostfix = [];
for (var jj = y0; jj < y0 + editor.uivalues.tileSize[1]; ++jj) {
for (var ii = x0; ii < x0 + editor.uivalues.tileSize[0]; ++ii) {
if (jj >= editor[editor.layerMod].length || ii >= editor[editor.layerMod][0].length) continue;
editor.uivalues.stepPostfix.push({ x: ii, y: jj });
}
}

View File

@ -77,6 +77,7 @@
<!-- ["terrains", "animates", "enemys", "enemy48", "items", "npcs", "npc48"] -->
<input id="appendConfirm" type="button" value="追加"/>
<input id="quickAppendConfirm" type="button" value="快速追加"/>
<span style="font-size: 13px">自动注册</span><input id="appendRegister" type="checkbox" checked/>
</p>
<p>
色相:<input id='changeColorInput' type="range" min="0" max="12" step="1" value="0" list="huelists" style="width: 60%;margin-left: 3%;vertical-align: middle">
@ -311,6 +312,9 @@
<canvas class='gameCanvas' id='eui' width='416' height='416' style='z-index:100'></canvas>
</div>
</div>
<div id="mid2">
</div>
<div id="right" style="z-index:-1;opacity: 0;">
<div id="iconLib">

View File

@ -355,6 +355,9 @@
<select id="selectFloor"></select>
<input type="button" value="保存地图" id='saveFloor'/>
</div>
</div>
<div id="mid2">
</div>
<div id="right">
<div id="iconLib">