fix(snapshot): wire code snapshot option switches

Closes #6870
This commit is contained in:
t8y2 committed 2026-08-21 08:27:23 +00:00
1 parent 49296c8930
commit 102f24798c
2 files changed
+159 -2

No files matched your search

@@ -195,11 +195,11 @@ const previewVisible = computed(() => open.value && !!props.source);
<div class="flex items-center justify-between gap-2">
<Label class="text-xs">{{ t("codeSnapshot.windowControls") }}</Label>
<Switch v-model:checked="showTrafficLights" />
<Switch v-model="showTrafficLights" />
</div>
<div class="flex items-center justify-between gap-2">
<Label class="text-xs">{{ t("codeSnapshot.lineNumbers") }}</Label>
<Switch v-model:checked="showLineNumbers" />
<Switch v-model="showLineNumbers" />
</div>
<div class="grid gap-1.5">