mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-01 11:29:49 +08:00
fix(test): apply highlight mode when loading (mitjans) (#5533)
This commit is contained in:
parent
29bd0df379
commit
3346b3891a
1 changed files with 2 additions and 2 deletions
|
@ -155,9 +155,9 @@ ConfigEvent.subscribe((eventKey, eventValue, nosave) => {
|
|||
if (eventKey === "theme") void applyBurstHeatmap();
|
||||
|
||||
if (eventValue === undefined) return;
|
||||
if (eventKey === "highlightMode" && ActivePage.get() === "test") {
|
||||
if (eventKey === "highlightMode") {
|
||||
highlightMode(eventValue as SharedTypes.Config.HighlightMode);
|
||||
updateActiveElement();
|
||||
if (ActivePage.get() === "test") updateActiveElement();
|
||||
}
|
||||
|
||||
if (typeof eventValue !== "boolean") return;
|
||||
|
|
Loading…
Reference in a new issue