From 00fa9bff21173d7c2056653e151accd6865e2f3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Forment?= Date: Thu, 13 Nov 2025 18:23:08 +0100 Subject: [PATCH] Feat: eval button --- src/App.svelte | 20 +++++++++++++++++++ src/lib/components/editor/Editor.svelte | 2 +- .../components/editor/EditorWithLogs.svelte | 6 ++++++ 3 files changed, 27 insertions(+), 1 deletion(-) diff --git a/src/App.svelte b/src/App.svelte index 2cbea96..83c86de 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -34,6 +34,7 @@ PanelLeftOpen, PanelRightOpen, CircleStop, + Play, } from "lucide-svelte"; const appContext = createAppContext(); @@ -51,6 +52,7 @@ let analyserNode = $state(null); let interpreterLogs = $state([]); + let editorWithLogsRef: EditorWithLogs; let logsUnsubscribe: (() => void) | undefined; @@ -350,6 +352,15 @@ {/snippet} +