From 1d271648d23504f90e20868de56d24100b9840ce Mon Sep 17 00:00:00 2001 From: ckcz123 Date: Mon, 30 Dec 2019 19:05:33 +0800 Subject: [PATCH] mid2 --- _server/css/editor.css | 10 +++++++++- _server/css/editor_mobile.css | 4 ++++ _server/editor_mappanel.js | 1 + editor-mobile.html | 4 ++++ editor.html | 3 +++ 5 files changed, 21 insertions(+), 1 deletion(-) diff --git a/_server/css/editor.css b/_server/css/editor.css index 04edff1a..2b14dd45 100644 --- a/_server/css/editor.css +++ b/_server/css/editor.css @@ -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; } diff --git a/_server/css/editor_mobile.css b/_server/css/editor_mobile.css index 40e28ff1..6dfaa651 100644 --- a/_server/css/editor_mobile.css +++ b/_server/css/editor_mobile.css @@ -110,6 +110,10 @@ body { position: absolute; } +#mid2 { + display: none; +} + #mapEdit { overflow: hidden; } diff --git a/_server/editor_mappanel.js b/_server/editor_mappanel.js index f36f4d33..fb32c7b3 100644 --- a/_server/editor_mappanel.js +++ b/_server/editor_mappanel.js @@ -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 }); } } diff --git a/editor-mobile.html b/editor-mobile.html index fe0525c0..f172454c 100644 --- a/editor-mobile.html +++ b/editor-mobile.html @@ -77,6 +77,7 @@ + 自动注册

色相: @@ -311,6 +312,9 @@ + +

+
+
+