commit 564bcdea88c0848b4d466bca3069f81c254ae330
parent a53586baddb6bcfb4645331e1a46a17157dcaa23
Author: Hunter
Date: Fri, 11 Jul 2025 11:36:56 -0400
decrease rerender timeout
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/index.html b/index.html
@@ -252,7 +252,7 @@
EditorView.updateListener.of((update) => {
if (update.docChanged) {
clearTimeout(updateTimer);
- updateTimer = setTimeout(updatePreview, 1000);
+ updateTimer = setTimeout(updatePreview, 750);
saveToStorage();
}
})