Skip to content

Commit

Permalink
make save work when paused
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed Oct 15, 2024
1 parent f5ad7cc commit ee0a578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ async function main() {
// even if one of the functions below fails (given we're
// running user code)
requestAnimationFrame(render, canvas);
if (playing) {
if (playing || g_captureFn) {
updateTimeDisplay();
g_visualizer.render(g_byteBeat, g_analyzers);
if (g_captureFn) {
Expand Down

0 comments on commit ee0a578

Please sign in to comment.