Skip to content

Commit

Permalink
pace: draw split text in theme fg colour
Browse files Browse the repository at this point in the history
  • Loading branch information
bobrippling committed Oct 16, 2024
1 parent dc84e26 commit 47a8d26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/pace/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
2 changes: 1 addition & 1 deletion apps/pace/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 47a8d26

Please sign in to comment.