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

@@ -167,8 +167,7 @@ function SelectMapModal({
type: "file",
grid: {
size: { x: fileGridX, y: fileGridY },
scale: { x: 1, y: 1 },
offset: { x: 0, y: 0 },
inset: { topLeft: { x: 0, y: 0 }, bottomRight: { x: 1, y: 1 } },
type: "square",
},
width: image.width,