mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-17 02:56:16 +08:00
Reset when test becomes inactive
This commit is contained in:
parent
80d50e9e11
commit
c5533f848a
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,7 @@ import * as ThemeColors from "./theme-colors";
|
|||
import * as CloudFunctions from "./cloud-functions";
|
||||
import * as TestLeaderboards from "./test-leaderboards";
|
||||
import * as Replay from "./replay.js";
|
||||
import * as PowerMode from "./power-mode";
|
||||
|
||||
export let notSignedInLastResult = null;
|
||||
|
||||
|
@ -172,6 +173,7 @@ export let bailout = false;
|
|||
|
||||
export function setActive(tf) {
|
||||
active = tf;
|
||||
if (!tf) PowerMode.reset();
|
||||
}
|
||||
|
||||
export function setRepeated(tf) {
|
||||
|
|
Loading…
Add table
Reference in a new issue