logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/
commit: d5549ac1ee045cf1b628c06a5456de25f66d6c84
parent 9db5552f300f87ea41e111a0578ae2b49b6a4057
Author: Henry Jameson <me@hjkos.com>
Date:   Tue, 24 Sep 2024 19:32:21 +0300

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

Diffstat:

Msrc/components/component_preview/component_preview.vue4++--
Msrc/components/shadow_control/shadow_control.vue1+
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/component_preview/component_preview.vue b/src/components/component_preview/component_preview.vue @@ -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 }) } } } diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue @@ -9,6 +9,7 @@ :shadow="selected" :preview-style="style" :disabled="!present" + @update:shadow="({ axis, value }) => updateProperty(axis, value)" /> <div class="shadow-switcher"> <Select