mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-16 20:34:27 +08:00
style: default live wpm/burst/acc to mini style when using bar timer
This commit is contained in:
parent
3dda3f905c
commit
7cfd434fca
3 changed files with 3 additions and 3 deletions
|
|
@ -18,7 +18,7 @@ export function show(): void {
|
|||
if (!Config.showLiveAcc) return;
|
||||
if (!TestState.isActive) return;
|
||||
if (state) return;
|
||||
if (Config.timerStyle === "mini") {
|
||||
if (Config.timerStyle === "mini" || Config.timerStyle === "bar") {
|
||||
$("#miniTimerAndLiveWpm .acc")
|
||||
.stop(true, false)
|
||||
.removeClass("hidden")
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ export function show(): void {
|
|||
if (!Config.showLiveBurst) return;
|
||||
if (!TestState.isActive) return;
|
||||
if (state) return;
|
||||
if (Config.timerStyle === "mini") {
|
||||
if (Config.timerStyle === "mini" || Config.timerStyle === "bar") {
|
||||
$("#miniTimerAndLiveWpm .burst")
|
||||
.stop(true, false)
|
||||
.removeClass("hidden")
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ export function show(): void {
|
|||
if (!Config.showLiveWpm) return;
|
||||
if (!TestState.isActive) return;
|
||||
if (state) return;
|
||||
if (Config.timerStyle === "mini") {
|
||||
if (Config.timerStyle === "mini" || Config.timerStyle === "bar") {
|
||||
$(miniLiveWpmElement)
|
||||
.stop(true, false)
|
||||
.removeClass("hidden")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue