mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 应用主题到全部对渐变填充形状未生效(#292)
This commit is contained in:
parent
537363ec67
commit
52ca83884e
@ -338,7 +338,10 @@ export default () => {
|
||||
if ('shadow' in el && el.shadow) el.shadow = shadow
|
||||
}
|
||||
|
||||
if (el.type === 'shape') el.fill = themeColor
|
||||
if (el.type === 'shape') {
|
||||
el.fill = themeColor
|
||||
if (el.gradient) delete el.gradient
|
||||
}
|
||||
else if (el.type === 'line') el.color = themeColor
|
||||
else if (el.type === 'text') {
|
||||
el.defaultColor = fontColor
|
||||
|
Loading…
x
Reference in New Issue
Block a user