index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/map.js')
-rw-r--r-- | src/map.js | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -7,20 +7,12 @@ const imageMaps = svg.querySelector('#image-maps'); const grid = gb.querySelector('.grid'); const dots = gb.querySelector('#dots'); -if ('cols' in dataset && 'rows' in dataset) { - const cellTemplate = svg.querySelector('#hex'); - - createCells(grid, dataset, cellTemplate.id); -} - const sequence = getComputedStyle(gb).transform.match(/-?\d+\.?\d*/g); const mtx = new DOMMatrix(sequence || ''); bg.style.transform = mtx; const bbox = grid.getBBox(); -bbox.height += 5; - setElAttrs(bg, bbox); setElAttrs(dots, bbox) svg.setAttribute('viewBox', formatForViewBox(calcComputedBboxFor(gb))); |