Prevented character color button from going camo

This commit is contained in:
Stefan Zermatten
2023-08-24 12:15:32 +02:00
parent 1778111c75
commit 90c92cdd8c
2 changed files with 3 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
{{ label }}
<v-icon
:right="!!label"
:color="value"
:color="noColorChange ? undefined : value"
>
mdi-format-paint
</v-icon>
@@ -148,6 +148,7 @@
type: Number,
default: undefined,
},
noColorChange: Boolean,
},
data(){ return {
colors: [

View File

@@ -10,6 +10,7 @@
<v-spacer />
<color-picker
:value="model.color"
no-color-change
@input="value => change({path: ['color'], value})"
/>
</template>