mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix merge fill styles when there are multiple fills
This commit is contained in:
parent
f5a640d104
commit
511e80c948
@ -81,6 +81,8 @@ export class StyleDeclaration {
|
||||
return this.setProperty(name, value);
|
||||
} else if (currentValue === "" && ["initial", "none"].includes(value)) {
|
||||
return this.setProperty(name, value);
|
||||
} else if (currentValue !== value && name === "--fills") {
|
||||
return this.setProperty(name, value);
|
||||
} else if (currentValue !== value) {
|
||||
return this.setProperty(name, "mixed");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user