mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-15 03:44:31 +08:00
no rename
This commit is contained in:
parent
1bae0e70d0
commit
a297539ba2
2 changed files with 4 additions and 9 deletions
|
|
@ -17,12 +17,7 @@ const [statsVisible, setStatsVisible] = createSignal({
|
|||
withAnimation: true,
|
||||
});
|
||||
|
||||
export {
|
||||
setLiveStatWpm,
|
||||
setLiveStatAcc,
|
||||
setLiveStatBurst,
|
||||
setStatsVisible as setWpmVisible,
|
||||
};
|
||||
export { setLiveStatWpm, setLiveStatAcc, setLiveStatBurst, setStatsVisible };
|
||||
|
||||
const liveWpmText = createMemo(() =>
|
||||
getLiveSpeedStyle() === "text" ? getWpm() : "",
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ import {
|
|||
setLiveStatAcc,
|
||||
setLiveStatBurst,
|
||||
setLiveStatWpm,
|
||||
setWpmVisible,
|
||||
setStatsVisible,
|
||||
} from "./live-states";
|
||||
|
||||
export const updateHintsPositionDebounced = Misc.debounceUntilResolved(
|
||||
|
|
@ -1821,7 +1821,7 @@ export function onTestStart(): void {
|
|||
Monkey.show();
|
||||
TimerProgress.show();
|
||||
TimerProgress.update();
|
||||
setWpmVisible({
|
||||
setStatsVisible({
|
||||
value: true,
|
||||
withAnimation: true,
|
||||
});
|
||||
|
|
@ -1833,7 +1833,7 @@ export function onTestRestart(source: "testPage" | "resultPage"): void {
|
|||
getInputElement().style.left = "0";
|
||||
TestConfig.show();
|
||||
Focus.set(false);
|
||||
setWpmVisible({
|
||||
setStatsVisible({
|
||||
value: false,
|
||||
withAnimation: false,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue