pace: draw split text in theme fg colour

pull/3565/head
Rob Pilling 2024-10-16 21:26:12 +01:00
parent dc84e2600f
commit 47a8d264ab
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@
};
var drawSplit_1 = function (i, y, pace) {
g
.setColor("#fff")
.setColor(g.theme.fg)
.drawString("".concat(i + 1 + splitOffset_1, " ").concat(typeof pace === "number" ? pace.toFixed(2) : pace), 0, y);
};
var pauseRun_1 = function () {

View File

@ -137,7 +137,7 @@ const drawSplits = () => {
const drawSplit = (i: number, y: number, pace: number | string) => {
g
.setColor("#fff")
.setColor(g.theme.fg)
.drawString(
`${i + 1 + splitOffset} ${typeof pace === "number" ? pace.toFixed(2) : pace}`,
0,