mirror of
https://gitlab.com/lecarore/breakout71.git
synced 2025-04-24 05:56:14 -04:00
Re-introduced power saving mode
This commit is contained in:
parent
9bf7e9534d
commit
bdfe5408b9
6 changed files with 3702 additions and 4 deletions
|
@ -15,7 +15,7 @@ export function recordOneFrame(gameState: GameState) {
|
|||
if (!isOptionOn("record")) {
|
||||
return;
|
||||
}
|
||||
if (!gameState.running) return;
|
||||
// if (!gameState.running) return;
|
||||
if (!captureStream) return;
|
||||
drawMainCanvasOnSmallCanvas(gameState);
|
||||
if (captureTrack?.requestFrame) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue