Prevented character color button from going camo
This commit is contained in:
@@ -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: [
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<v-spacer />
|
||||
<color-picker
|
||||
:value="model.color"
|
||||
no-color-change
|
||||
@input="value => change({path: ['color'], value})"
|
||||
/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user