diff --git a/CHANGELOG.md b/CHANGELOG.md index 11e6220..4a7894c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ The application version is maintained in `package.json` and displayed in the adm No changes recorded yet. +## 1.42.2 - 2026-10-23 + +### Fixed + +- **OBS overlay (tower):** the event/session name no longer wraps beside the clock (one line, cut with … if too long; the event name above it is left out when it is the same as the session name, and the clock keeps a steady width). The position badges 1, 2, 3 no longer overlap the driver names, the ⚠ for a suspect lap sits right after the name instead of on its own line, and the transponder number is no longer shown (team races still show the active driver). + ## 1.42.1 - 2026-10-23 ### Changed diff --git a/package-lock.json b/package-lock.json index c41b43a..0c6eb1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rc-racecore", - "version": "1.42.1", + "version": "1.42.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "rc-racecore", - "version": "1.42.1", + "version": "1.42.2", "hasInstallScript": true, "dependencies": { "better-sqlite3": "^12.11.1", diff --git a/package.json b/package.json index 26945f0..7aea0ba 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rc-racecore", - "version": "1.42.1", + "version": "1.42.2", "private": true, "description": "RC RaceCore live timing and race control with AMMC ingest and SQLite persistence", "engines": { diff --git a/src/overlays.js b/src/overlays.js index ea71fc6..c706eea 100644 --- a/src/overlays.js +++ b/src/overlays.js @@ -303,6 +303,10 @@ export function renderObsOverlay(active, leaderboard, result, sessionTiming, bra `; } + // The event name above the session name, unless it says the same thing (an Open Practice is + // often named after its event). + const eventName = String(getEventName(active.eventId) || "").trim(); + const eventKicker = eventName.toLocaleLowerCase() === String(active.name || "").trim().toLocaleLowerCase() ? "" : eventName; const towerRowsHtml = showStartGrid ? getSessionGridEntries(active) .slice(0, obsConfig.rows) @@ -313,7 +317,7 @@ export function renderObsOverlay(active, leaderboard, result, sessionTiming, bra ${entry.slot}
`; @@ -336,7 +340,7 @@ export function renderObsOverlay(active, leaderboard, result, sessionTiming, bra ${idx + 1} ${trail ? `` : ""} @@ -350,9 +354,9 @@ export function renderObsOverlay(active, leaderboard, result, sessionTiming, bra