updating pace caret if tag was toggled through the command line

This commit is contained in:
Miodec 2022-01-31 23:13:56 +01:00
parent 8a7b812fe1
commit 7e428d93c3

View file

@ -17,6 +17,7 @@ import * as Commandline from "./commandline";
import * as CustomText from "./custom-text";
import * as Settings from "./settings";
import * as ChallengeController from "./challenge-controller";
import * as PaceCaret from "./pace-caret";
export let current = [];
@ -235,6 +236,11 @@ export function updateTagCommands() {
exec: () => {
TagController.toggle(tag._id);
TestUI.updateModesNotice();
if (Config.paceCaret === "average") {
PaceCaret.init();
}
let txt = tag.name;
if (tag.active === true) {