commit 49d05a821d0d8824c83ef38e75ebae3a3f4a6cae
parent a45a39450325398b1f2c48ddd29f2d134c3c355f
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date: Sun, 15 Sep 2024 10:06:07 -0700
Update grid after using zoom keys
Otherwise the grid can be too small for the view when zooming out.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/files/floorplans/floorplan/main.js b/files/floorplans/floorplan/main.js
@@ -322,6 +322,7 @@ function zoomKeysHandler(event, editor) {
} else {
return
}
+ editor.updateGrid()
event.preventDefault()
}