Skip to content

Commit c808dae

Browse files
authored
Merge pull request #5984 from LibreSign/backport/5982/stable32
[stable32] fix: resolve NcColorPicker focus-trap error and improve UX
2 parents be551a6 + b718a71 commit c808dae

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)