Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe
This commit is contained in:
commit
d5549ac1ee
|
@ -187,8 +187,8 @@ export default {
|
|||
Checkbox
|
||||
},
|
||||
methods: {
|
||||
update (axis, value) {
|
||||
this.$emit('update:shadow', { ...this.shadowControl, [axis]: value })
|
||||
updateProperty (axis, value) {
|
||||
this.$emit('update:shadow', { axis, value })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
:shadow="selected"
|
||||
:preview-style="style"
|
||||
:disabled="!present"
|
||||
@update:shadow="({ axis, value }) => updateProperty(axis, value)"
|
||||
/>
|
||||
<div class="shadow-switcher">
|
||||
<Select
|
||||
|
|
Loading…
Reference in a new issue