pass computeColor into shadow control, fix shadow switching types due to invalid shadow color
This commit is contained in:
parent
1a38e0273e
commit
098c6af7ef
7 changed files with 19 additions and 7 deletions
|
|
@ -620,7 +620,6 @@ export default {
|
|||
}
|
||||
}
|
||||
case 'color':
|
||||
console.log('COLOR', selectedVirtualDirective.value.value)
|
||||
return selectedVirtualDirective.value.value
|
||||
default:
|
||||
return selectedVirtualDirective.value.value
|
||||
|
|
|
|||
|
|
@ -409,6 +409,7 @@
|
|||
<ShadowControl
|
||||
v-if="selectedVirtualDirectiveValType === 'shadow'"
|
||||
v-model="selectedVirtualDirectiveParsed"
|
||||
:computeColor="computeColor"
|
||||
:compact="true"
|
||||
/>
|
||||
<ColorInput
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue