fix: radar can get out of 1/1 aspect ratio

- Fixed radar going out of its 1/1 AR.
- Settings are now in a vertical layout
This commit is contained in:
Janek
2024-04-12 14:10:53 +02:00
parent 85ff61d902
commit 376c6205ed
3 changed files with 20 additions and 7 deletions

View File

@@ -10,8 +10,14 @@
<div id="canvasContainer">
<div id="settingsHolder">
<div class="settings">
<button onclick="toggleZoom()">Toggle Zoom</button>
<button onclick="toggleStats()">Toggle Stats</button>
<div>
<input type="checkbox" onclick="toggleZoom()" id="zoomCheck" name="zoom"/>
<label for="zoomCheck">Zoom</label>
</div>
<div>
<input type="checkbox" onclick="toggleStats()" id="statsCheck" name="stats"/>
<label for="statsCheck">Stats</label>
</div>
</div>
</div>
<canvas id="canvas"></canvas>