Changed grid scale and offset to inset and added grid editor

This commit is contained in:
Mitchell McCaffrey
2020-10-02 17:53:23 +10:00
parent 539f216cfe
commit 3e5478f7a8
8 changed files with 216 additions and 15 deletions

View File

@@ -217,8 +217,7 @@ function loadVersions(db) {
map.group = "";
map.grid = {
size: { x: map.gridX, y: map.gridY },
scale: { x: 1, y: 1 },
offset: { x: 0, y: 0 },
inset: { topLeft: { x: 0, y: 0 }, bottomRight: { x: 1, y: 1 } },
type: "square",
};
delete map.gridX;