Skip to content

Commit ac18f07

Browse files
authored
Merge pull request #5982 from LibreSign/fix/color-picker-focus-trap
fix: resolve NcColorPicker focus-trap error and improve UX
2 parents 06901d6 + fcd231d commit ac18f07

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/Components/Draw/Editor.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
<NcColorPicker ref="colorPicker"
99
v-model="color"
1010
:palette="customPalette"
11-
:palette-only="true"
12-
@input="updateColor">
13-
<NcButton>
11+
@submit="updateColor">
12+
<NcButton type="tertiary">
1413
<template #icon>
15-
<PaletteIcon :size="20" />
14+
<PaletteIcon :size="20" :fill-color="color" />
1615
</template>
1716
{{ t('libresign', 'Change color') }}
1817
</NcButton>

0 commit comments

Comments
 (0)