mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
🐛 Fix merge fill styles when there are multiple fills
This commit is contained in:
parent
0fadcde413
commit
bfb6d63a6d
@ -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