diff --git a/src/components/GradientBar.vue b/src/components/GradientBar.vue
index 48185cb4..3b465c2f 100644
--- a/src/components/GradientBar.vue
+++ b/src/components/GradientBar.vue
@@ -2,25 +2,26 @@
diff --git a/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue b/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
index 4677f35b..365de384 100644
--- a/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
+++ b/src/views/Editor/Toolbar/ElementStylePanel/ShapeStylePanel.vue
@@ -54,6 +54,7 @@
updateGradient({ colors: value })"
@update:index="index => currentGradientIndex = index"
/>
@@ -182,6 +183,10 @@ watch(handleElement, () => {
textAlign.value = handleElement.value?.text?.align || 'middle'
}, { deep: true, immediate: true })
+watch(handleElementId, () => {
+ currentGradientIndex.value = 0
+})
+
const { addHistorySnapshot } = useHistorySnapshot()
const { toggleShapeFormatPainter } = useShapeFormatPainter()
diff --git a/src/views/Editor/Toolbar/SlideDesignPanel.vue b/src/views/Editor/Toolbar/SlideDesignPanel.vue
index ae8d986b..eafaa4e6 100644
--- a/src/views/Editor/Toolbar/SlideDesignPanel.vue
+++ b/src/views/Editor/Toolbar/SlideDesignPanel.vue
@@ -62,6 +62,7 @@
updateGradientBackground({ colors: value })"
@update:index="index => currentGradientIndex = index"
/>
@@ -298,7 +299,7 @@