[ FIX ] : TextType CursorCharacter Options

This commit is contained in:
Utkarsh-Singhal-26
2026-01-10 11:57:51 +05:30
parent 40f95d1d4d
commit 62e843cf9a

View File

@@ -17,7 +17,7 @@
</div>
<Customize>
<PreviewSelect v-model="cursorCharacter" :options="['|', '_', '█', '▌', '▐']" title="Cursor Character" />
<PreviewSelect v-model="cursorCharacter" :options="cursorOptions" title="Cursor Character" />
<PreviewSlider v-model="typingSpeed" title="Typing Speed" :min="10" :max="200" :step="5" value-unit="ms" />
<PreviewSlider
v-model="pauseDuration"
@@ -99,6 +99,14 @@ const cursorBlinkDuration = ref(0.5);
const { rerenderKey: key } = useForceRerender();
const cursorOptions = [
{ value: '_', label: 'Underscore (_)' },
{ value: '|', label: 'Pipe (|)' },
{ value: '▎', label: 'Block (▎)' },
{ value: '●', label: 'Dot (●)' },
{ value: '█', label: 'Full Block (█)' }
];
const propData = [
{
name: 'text',