Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-05-18 20:52:36 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-05-18 20:52:36 -0700
commit549ad8699f53cc4f3e7a82be2f7caee8925d93ce (patch)
tree457933814ec0555afec82cec52d5f62b5f687a54 /src/map.js
parent3b641620ab6c2fdfa6b551c019e44726064029c5 (diff)
Finish furniture, recenter maps
Diffstat (limited to 'src/map.js')
-rw-r--r--src/map.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.js b/src/map.js
index e82e809..5d0bf6a 100644
--- a/src/map.js
+++ b/src/map.js
@@ -19,6 +19,8 @@ bg.style.transform = mtx;
const bbox = grid.getBBox();
+bbox.height += 5;
+
setElAttrs(bg, bbox);
setElAttrs(dots, bbox)
svg.setAttribute('viewBox', formatForViewBox(calcComputedBboxFor(gb)));