diff --git a/src/components/Pages/ChartItemSetting/StylesSetting.vue b/src/components/Pages/ChartItemSetting/StylesSetting.vue index 064f2fff..efb1d653 100644 --- a/src/components/Pages/ChartItemSetting/StylesSetting.vue +++ b/src/components/Pages/ChartItemSetting/StylesSetting.vue @@ -72,17 +72,17 @@
+ class="preset-img" + width="46" + preview-disabled + object-fit="scale-down" + v-for="(item, index) in presetImageList" + :key="index" + :class="{ 'active-preset': item.hueRotate === chartStyles.hueRotate }" + :style="{ filter: `hue-rotate(${item.hueRotate}deg)` }" + :src="item.src" + @click="() => (chartStyles.hueRotate = item.hueRotate)" + >
@@ -165,12 +165,12 @@