Shorten refresh interval to 2.5 seconds

bus-progress-ui
ElementalAlchemist 1 week ago
parent 8b7b87d450
commit 5410b5c1fe

@ -13,7 +13,7 @@
<input id="scale-input" type="number" value="1" min="0.1" step="0.1" />
</label>
<p id="scale-disclaimer">
Scale modifications will be applied on the next update, which occur every 10 seconds.
Scale modifications will be applied on the next update, which occur every 2.5 seconds.
</p>
</body>
</html>

@ -210,5 +210,5 @@ async function drawRoad() {
window.addEventListener("DOMContentLoaded", (event) => {
drawRoad();
setInterval(drawRoad, 10000);
setInterval(drawRoad, 2500);
});

Loading…
Cancel
Save