Skip to content

Commit

Permalink
tweak multiboard gauge title
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Jan 29, 2024
1 parent 73d2dda commit 095d5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/analyse/src/study/multiBoard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ const evalGauge = (chap: ChapterPreview, cloudEval: GetCloudEval): VNode =>
const gauge = elm.parentNode as HTMLElement;
elm.style.height = `${((1 - (cev?.chances || 0)) / 2) * 100}%`;
if (cev) {
gauge.title = `Depth ${cev.depth}: ${renderScore(cev)}`;
gauge.title = `${renderScore(cev)} at depth ${cev.depth}`;
gauge.classList.add('mini-game__gauge--set');
}
}
Expand Down

0 comments on commit 095d5c4

Please sign in to comment.