fix shadow control misbehaving in style tab
This commit is contained in:
parent
f4d29b5d5e
commit
d772f6cfeb
7 changed files with 83 additions and 31 deletions
|
|
@ -5,9 +5,11 @@
|
|||
>
|
||||
<ComponentPreview
|
||||
v-if="!noPreview"
|
||||
:invalid="invalid"
|
||||
class="shadow-preview"
|
||||
:shadow-control="true"
|
||||
:shadow="selected"
|
||||
:preview-style="style"
|
||||
:disabled="disabled || !present"
|
||||
@update:shadow="({ axis, value }) => updateProperty(axis, value)"
|
||||
/>
|
||||
|
|
@ -165,7 +167,7 @@
|
|||
:model-value="selected?.color"
|
||||
:disabled="disabled || !present"
|
||||
:label="$t('settings.style.common.color')"
|
||||
:fallback="getFallback"
|
||||
:fallback="getColorFallback"
|
||||
:show-optional-tickbox="false"
|
||||
name="shadow"
|
||||
@update:modelValue="e => updateProperty('color', e)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue