Merge branch 'shadow-control-2.0' into themes3-grand-finale-maybe

This commit is contained in:
Henry Jameson 2024-09-24 19:32:21 +03:00
commit d5549ac1ee
2 changed files with 3 additions and 2 deletions

View file

@ -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 })
}
}
}

View file

@ -9,6 +9,7 @@
:shadow="selected"
:preview-style="style"
:disabled="!present"
@update:shadow="({ axis, value }) => updateProperty(axis, value)"
/>
<div class="shadow-switcher">
<Select