From 7ff9024ba59c749e8b58fc333348402bf6046707 Mon Sep 17 00:00:00 2001 From: nycki Date: Sat, 12 Jul 2025 10:13:45 -0700 Subject: [PATCH] adjust timeout so infinite loops are less laggy --- static/qrplay/v3d.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/qrplay/v3d.html b/static/qrplay/v3d.html index a77162e..0597cfb 100644 --- a/static/qrplay/v3d.html +++ b/static/qrplay/v3d.html @@ -28,7 +28,7 @@ F.A?.close(); F.A=A=new AudioContext; // kill some time for the audio context to start -S='@qx@'+F.value; +S='@qx@'+F.value.toLowerCase(); // stack B=[]; // stack variables @@ -95,6 +95,6 @@ M=_=>{ S=C[a]+S.slice(s--); // loop - (S=S.slice(s))&&setTimeout(M) + (S=S.slice(s))&&setTimeout(M,50) };M() ">#play