WIP: add fullscreen and download save abilities

This commit is contained in:
2024-05-04 10:25:22 -07:00
parent 3049acbe15
commit f021368a66
6 changed files with 70 additions and 9 deletions

View File

@@ -1,4 +0,0 @@
<?xml version="1.0" standalone="no"?>
<svg viewBox="-5 -5 10 10" xmlns="http://www.w3.org/2000/svg">
<circle r="5" fill="purple"/>
</svg>

Before

Width:  |  Height:  |  Size: 140 B

View File

@@ -104,7 +104,7 @@
Loading...
</div>
<object type="image/svg+xml" data="assets/images/map1.svg"></object>
<object type="image/svg+xml"></object>
<div id="status">
<span id="hex-counter">Distance: <span id="hex-count">-</span></span>
@@ -120,7 +120,9 @@
<span class="inning-top"></span>
<span class="inning-bottom"></span>
</span>
<button id="show-dialog">Change map</button>
<button id="show-dialog" type="button">Change map</button>
<button id="fullscreen" type="button">Fullscreen</button>
<button id="download-save" type="button">Save</button>
<span style="white-space: nowrap;">
Prone: <input type="checkbox" id="toggle-prone-counter" />
<button type="button" class="set-firing-arc" data-size="small">