From c83fec267e5d0d6892e936daa1587f4c9e022bcb Mon Sep 17 00:00:00 2001 From: byrongamatos Date: Sun, 12 Jul 2026 20:54:20 +0200 Subject: [PATCH] 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 --- static/v3/venue-crowd.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/v3/venue-crowd.js b/static/v3/venue-crowd.js index 2981bf7..5126e11 100644 --- a/static/v3/venue-crowd.js +++ b/static/v3/venue-crowd.js @@ -373,6 +373,10 @@ setVideo(1, null); } _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); }