mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-11 22:23:32 +08:00
updating pace caret if tag was toggled through the command line
This commit is contained in:
parent
8a7b812fe1
commit
7e428d93c3
1 changed files with 6 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue