fix(venue-crowd): reset active layer with mix on stop

Codex preflight: stop() zeroed the mix but left _activeLayer at 1, so a
restart flashed layer 0's stale frame until the new loop loaded.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
byrongamatos
2026-07-12 20:54:20 +02:00
co-authored by Claude Fable 5
parent c73ff96dfe
commit c83fec267e
+4
View File
@@ -373,6 +373,10 @@
setVideo(1, null); setVideo(1, null);
} }
_boundToRenderer = false; _boundToRenderer = false;
// Mix and active layer must reset together: mix 0 shows layer 0, so a
// restart that left _activeLayer at 1 would flash layer 0's stale
// frame until the new loop loads.
_activeLayer = 0;
setMix(0); setMix(0);
} }