Fix diff'

This commit is contained in:
oc 2019-03-17 02:07:06 +08:00
parent e710804297
commit 83fb359179
3 changed files with 3 additions and 4 deletions

View File

@ -148,7 +148,6 @@ body {
height: 180px;
left: 0;
bottom: 0;
border-top: 1px solid #ccc;
padding: 10px 5px;
margin-left: 8px;;
box-sizing: border-box;

View File

@ -721,7 +721,7 @@ editor.prototype.listen = function () {
mouseOutCheck = 2;
setTimeout(clear1);
e.stopPropagation();
uc.clearRect(0, 0, 416, 416);
uc.clearRect(0, 0, core.__SIZE__, core.__SIZE__);
var loc = eToLoc(e);
var pos = locToPos(loc,true);
stepPostfix = [];

View File

@ -792,7 +792,7 @@ utils.prototype.readFileContent = function (content) {
main.log(e);
alert(e);
}
alert("不是有效的JSON文件");
// alert("不是有效的JSON文件");
if (core.platform.errorCallback)
core.platform.errorCallback();
@ -1049,7 +1049,7 @@ utils.prototype._export = function (floorIds) {
// map
var content = floorIds.length + "\n" + core.__SIZE__ + " " + core.__SIZE__ + "\n\n";
floorIds.forEach(function (floorId) {
var arr = core.maps.getMapArray(core.status.maps[floorId].blocks, 13, 13);
var arr = core.maps.getMapArray(core.status.maps[floorId].blocks);
content += arr.map(function (x) {
// check monster
x.forEach(function (t) {