From 7e428d93c363b997438c6a386fd7f2a7cc4acf18 Mon Sep 17 00:00:00 2001 From: Miodec Date: Mon, 31 Jan 2022 23:13:56 +0100 Subject: [PATCH] updating pace caret if tag was toggled through the command line --- src/js/commandline-lists.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/js/commandline-lists.js b/src/js/commandline-lists.js index 5fbcc6b19..aabba8329 100644 --- a/src/js/commandline-lists.js +++ b/src/js/commandline-lists.js @@ -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) {