Skip to content

Commit 7b58fca

Browse files
authored
Merge pull request #5983 from LibreSign/backport/5982/stable31
[stable31] fix: resolve NcColorPicker focus-trap error and improve UX
2 parents 4c804b9 + 82cffad commit 7b58fca

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)