Skip to content

Commit b7fc638

Browse files
committed
fix(editor): correct visibility toggle for editor component
1 parent a88ae13 commit b7fc638

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/renderer/components/editor/Editor.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -274,15 +274,13 @@ onMounted(() => {
274274
>
275275
<EditorHeader v-if="isShowHeader" />
276276
<SplitterGroup
277+
v-show="isShowEditor"
277278
id="editor"
278279
direction="vertical"
279280
class="overflow-auto"
280281
>
281282
<SplitterPanel as-child>
282-
<div
283-
v-show="isShowEditor"
284-
ref="editorRef"
285-
/>
283+
<div ref="editorRef" />
286284
</SplitterPanel>
287285
<SplitterResizeHandle class="relative cursor-none">
288286
<UiGutter orientation="horizontal" />

0 commit comments

Comments
 (0)