Keeping last project open

This commit is contained in:
2025-10-15 11:39:22 +02:00
parent d3a8396033
commit 1dc9d1114e
5 changed files with 71 additions and 13 deletions

View File

@ -10,6 +10,7 @@
onExecute?: (code: string, source: 'selection' | 'block' | 'document') => void;
logs?: string[];
editorSettings: EditorSettingsStore;
mode: 'composition' | 'livecoding';
}
let {
@ -17,7 +18,8 @@
onChange,
onExecute,
logs = [],
editorSettings
editorSettings,
mode = 'composition'
}: Props = $props();
let logPanelRef: LogPanel;
@ -84,6 +86,7 @@
{onChange}
{onExecute}
{editorSettings}
{mode}
/>
</div>