use the background from show scene and start transfer of grid to svg instead of canvas

This commit is contained in:
Rusty Striker 2025-06-20 18:07:44 +03:00
parent 46e3ac73af
commit 2a7324b133
Signed by: RustyStriker
GPG key ID: 9DBDBC7C48FC3C31
2 changed files with 18 additions and 23 deletions

View file

@ -64,9 +64,8 @@
<button style="background-color: #ffffd6;" onclick="showHideDiv('initiative-tracker')"><b>i</b></button>
</div>
<div id="map" style="position:absolute; transform-origin: top left; user-select: none;">
<img id="map-background" src="https://rustystriker.dev/molly.jpg" height="200%">
<canvas style="position: absolute; top: 0px; left: 0px;" id="map-grid" width="1000"
height="1000"></canvas>
<img id="map-background" src="https://rustystriker.dev/molly.jpg">
<svg id="map-grid" xmlns="http://www.w3.org/2000/svg" vector-effect="non-scaling-stroke" style="position: absolute; top: 0px; left: 0px"></svg>
</div>
</div>
</div>