Add hex support for map size changes

This commit is contained in:
Mitchell McCaffrey
2021-02-05 16:57:10 +11:00
parent 5dfddd6af9
commit 9ddb9a6bac
3 changed files with 59 additions and 48 deletions

View File

@@ -66,7 +66,7 @@ function EditMapModal({ isOpen, onDone, map, mapState }) {
) {
if ("size" in verifiedChanges.grid) {
verifiedChanges.grid.inset = getGridDefaultInset(
verifiedChanges.grid,
{ size: verifiedChanges.grid.size, type: map.grid.type },
map.width,
map.height
);