Add documentation, a debug mode, and minor changes to defaults

This commit is contained in:
pleb
2026-04-11 13:38:22 -07:00
parent bf4aa27ca3
commit f8b6c06f89
8 changed files with 101 additions and 22 deletions
+5
View File
@@ -4,6 +4,10 @@
<meta charset="utf-8">
<title>BS Overlay</title>
<link rel="stylesheet" href="index.css">
<script>
if (new URLSearchParams(location.search).get("debug") === "1")
document.documentElement.classList.add("debug");
</script>
</head>
<body>
<div class="row">
@@ -51,6 +55,7 @@
<label>Show map info: <input id="mapInfoInput" type="checkbox"></label>
<label>Show time: <input id="timeInput" type="checkbox"></label>
<label>Show score: <input id="scoreInput" type="checkbox"></label>
<label>Show BSR / map id: <input id="bsrInput" type="checkbox"></label>
<label>Position: <select id="positionInput">
<option value="[false,false]">Top left</option>
<option value="[true,false]">Top right</option>