Skip to content

Commit

Permalink
impr: center mini stats when using tape mode
Browse files Browse the repository at this point in the history
  • Loading branch information
notTamion committed Dec 8, 2024
1 parent e994e84 commit a2c2e1e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion frontend/src/ts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -907,8 +907,11 @@ export function setTapeMode(
return false;
}

if (mode !== "off" && config.showAllLines) {
if (mode !== "off") {
setShowAllLines(false, true);
$("#liveStatsMini").css("display", "flex").css("justify-content", "center");
} else {
$("#liveStatsMini").css("display", "").css("justify-content", "");
}

config.tapeMode = mode;
Expand Down

0 comments on commit a2c2e1e

Please sign in to comment.