diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6249180..e8dcc4d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,6 +8,10 @@ The application version is maintained in `package.json` and displayed in the adm
No changes recorded yet.
+## 1.89.54 - 2026-11-16
+
+- Overlay and OBS: the Gap column showed the gap to the car in front, the same as Gap ahead. It now shows the gap to the leader (e.g. +1L for a lapped car), and the leader shows -.
+
## 1.89.53 - 2026-11-16
- The lap times table in a heat's print and PDF is now a choice: **Lap times in 🖨/PDF** next to Print / PDF / CSV in the race overview (remembered, off by default). Off, a heat prints on one page with the result and the lap chart, as before.
diff --git a/package-lock.json b/package-lock.json
index 3ff0988..c8d1205 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "rc-racecore",
- "version": "1.89.53",
+ "version": "1.89.54",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "rc-racecore",
- "version": "1.89.53",
+ "version": "1.89.54",
"hasInstallScript": true,
"license": "AGPL-3.0-or-later",
"dependencies": {
diff --git a/package.json b/package.json
index b166210..9ca49f1 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "rc-racecore",
- "version": "1.89.53",
+ "version": "1.89.54",
"private": true,
"license": "AGPL-3.0-or-later",
"description": "RC RaceCore live timing and race control with AMMC ingest and SQLite persistence",
diff --git a/src/overlays.js b/src/overlays.js
index 4fbe810..0e0b46b 100644
--- a/src/overlays.js
+++ b/src/overlays.js
@@ -2,6 +2,10 @@ import { rowFlag } from "./country_flags.js";
import { sortValuesAttribute } from "./list_sorting.js";
import { escapeHtml as escapeHtmlLocal } from "./html_escape.js";
import { overlayLiveMarks, passingFlashAttrs, renderLiveMarkBadges } from "./overlay_live_marks.js";
+
+// Gap = to the leader, Gap ahead = to the car in front (both from buildLeaderboard). The leader
+// itself shows "-". gapDisplay is only set by older callers and tests.
+const leaderGapOf = (row) => row.leaderGap || row.gapDisplay || "";
export function getOverlayModeLabel(mode, { t }) {
return t(`overlay.mode_${String(mode || "leaderboard").toLowerCase()}`);
}
@@ -82,7 +86,7 @@ export function renderOverlayLeaderboard(rows, { t, escapeHtml, formatTeamActive
const posClass = idx === 0 ? "pos-1" : idx === 1 ? "pos-2" : idx === 2 ? "pos-3" : "";
const rowSortAttr = sortable ? ` data-sort-values="${sortValuesAttribute(practiceRank
? [idx + 1, row.displayName || row.driverName, row.practiceMetric?.comparableMs ?? null, row.gapDisplay || null, row.bestLapMs || null]
- : [idx + 1, row.displayName || row.driverName, row.laps ?? 0, lastLap ? row.lastLapMs || null : row.resultDisplay, row.gapDisplay || row.gapAhead || null, row.gapAhead || null, row.lapDelta || null, row.bestLapMs || null])}"` : "";
+ : [idx + 1, row.displayName || row.driverName, row.laps ?? 0, lastLap ? row.lastLapMs || null : row.resultDisplay, (idx === 0 ? null : leaderGapOf(row) || null), row.gapAhead || null, row.lapDelta || null, row.bestLapMs || null])}"` : "";
const linkAttrs = driverLinks && row.driverId && !row.teamId ? ` data-training-driver="${escapeHtml(row.driverId)}" title="${escapeHtml(t("overlay.open_training_stats"))}"` : "";
const mark = liveMarks.get(String(row.key ?? ""));
const flash = passingFlashAttrs(mark);
@@ -116,7 +120,7 @@ export function renderOverlayLeaderboard(rows, { t, escapeHtml, formatTeamActive