feat(overlay): flash the row on a new time, ticking pit clock and split badges (1.88.0)

This commit is contained in:
larssand committed 2026-11-10 07:42:47 +01:00
1 parent ee290a4ab8
commit f5b77d5589
11 files changed
+304 -6

No files matched your search

+2
View File
@@ -3,6 +3,7 @@ import { getSyncStatus } from "./sync_status.js";
import { installListSorting } from "./list_sorting.js";
import { escapeHtml } from "./html_escape.js";
import { getOverlayModeLabel, buildOverlayPanels, renderOverlaySidePanel, renderOverlayLeaderboard, renderTeamOverlay, renderObsOverlay } from "./overlays.js";
import { refreshLiveMarkNodes } from "./overlay_live_marks.js";
import { renderSettings, openSettingsTab } from "./settings.js";
import { buildRaceDayQueue, buildRaceDayPreflight, getRaceDriverIds, shouldOfferFinals } from "./race_day_logic.js";
@@ -811,6 +812,7 @@ const refreshOverlayDynamics = () => {
node.textContent = clock;
});
refreshLiveMarkNodes(document);
const rowsByKey = new Map(buildLeaderboard(active).map((row) => [String(row.key), row]));
document.querySelectorAll("[data-overlay-competitor]").forEach((node) => {
const row = rowsByKey.get(String(node.dataset.overlayCompetitor || ""));