mirror of https://github.com/penpot/penpot.git
🐛 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…
Reference in New Issue