后退最近访问的楼层

This commit is contained in:
ckcz123 committed 2020-06-12 14:41:09 +08:00
1 parent 508c7ba310
commit 1ceb496d2e
6 files changed
+20

No files matched your search

+4
View File
@@ -53,6 +53,7 @@ function editor() {
lastUsedCtx: document.getElementById('lastUsed').getContext('2d'),
lockMode: document.getElementById('lockMode'),
gameInject: document.getElementById('gameInject'),
undoFloor: document.getElementById('undoFloor'),
maps: ['bgmap', 'fgmap', 'map'],
canvas: ['bg', 'fg'],
};
@@ -107,6 +108,9 @@ function editor() {
// 最近使用的图块
lastUsedType: null,
lastUsed: [],
// 最近访问的楼层
recentFloors: []
};
window.onerror = function (msg, url, lineNo, columnNo, error) {