Fix map stuff, and implement builtin funcs for it

This commit is contained in:
dylan
2023-05-09 23:50:27 -07:00
parent ef8cb2c4cf
commit b394f81477
5 changed files with 46 additions and 7 deletions

View File

@@ -26,6 +26,10 @@ const update = () => {
if (g) {
const {x, y} = g;
page.activeSheet = 4*y+x;
const sheet = getSheet(page.activeSheet);
if (!sheet) {
console.log(x, y, g);
}
page.tab = getSheet(page.activeSheet).sheet_type;
}
}