forgot something again

This commit is contained in:
Henry Jameson 2024-09-24 19:32:08 +03:00
parent 735433beb4
commit d2a9653ecb
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