Better architectural distinction between live coding mode and composition mode

This commit is contained in:
2025-10-15 11:04:27 +02:00
parent 46925f5c2e
commit bbdb01200e
11 changed files with 434 additions and 160 deletions

View File

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