MCPcopy
hub / github.com/monkeytypegame/monkeytype / applyEngineSettings

Function applyEngineSettings

frontend/src/ts/anim.ts:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27}
28
29export function applyEngineSettings(): void {
30 engine.pauseOnDocumentHidden = false;
31 engine.fps = fpsLimit.get();
32 engine.defaults.frameRate = fpsLimit.get();
33}
34
35export function setLowFpsMode(): void {
36 engine.fps = 30;

Callers 2

index.tsFile · 0.90
setfpsLimitFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected