diff --git a/src/views/Editor/Toolbar/SlideStylePanel.vue b/src/views/Editor/Toolbar/SlideStylePanel.vue index ce199509..91fad1e7 100644 --- a/src/views/Editor/Toolbar/SlideStylePanel.vue +++ b/src/views/Editor/Toolbar/SlideStylePanel.vue @@ -279,10 +279,12 @@ export default defineComponent({ const { themeColor, backgroundColor, fontColor } = theme.value for(const slide of newSlides) { - slide.background = { - ...slide.background, - type: 'solid', - color: backgroundColor + if(!slide.background || slide.background.type !== 'image') { + slide.background = { + ...slide.background, + type: 'solid', + color: backgroundColor + } } const elements = slide.elements