From c6ecf53b9b74e727fab3d0d6870913035b5048aa Mon Sep 17 00:00:00 2001 From: Javier Martinez Date: Wed, 18 Sep 2024 08:21:27 +0000 Subject: [PATCH] Add prop to force hidding the console error bar in Code view --- src/lib/EnvelopeEditor.svelte | 5 ++++- src/lib/editor/code/EditorCode.svelte | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/lib/EnvelopeEditor.svelte b/src/lib/EnvelopeEditor.svelte index e17f5bb..6dd0036 100644 --- a/src/lib/EnvelopeEditor.svelte +++ b/src/lib/EnvelopeEditor.svelte @@ -63,6 +63,9 @@ // If autocorrect is set to false the envelope is not updated automatically. Event `corrected` is always fired with the result export let autocorrect = true; + // If hideConsoleBar is true will force to hide the error suggestions in Code View + export let hideConsoleBar = false; + let editorForm: EditorForm | null = null; let initialEditorData = ""; @@ -322,7 +325,7 @@
{#if editorView === "code"} - + {:else}