Better architectural distinction between live coding mode and composition mode
This commit is contained in:
@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user