fix: #1026, remove mask-image on export

This commit is contained in:
Azgaar 2023-12-10 16:52:47 +04:00
parent 52e3088763
commit 845dc893d2
3 changed files with 2 additions and 8 deletions

View file

@ -389,12 +389,6 @@ function inlineStyle(clone) {
const key = compStyle[i];
const value = compStyle.getPropertyValue(key);
// Firefox mask hack
if (key === "mask-image" && value !== defaultStyles.getPropertyValue(key)) {
style += "mask-image: url('#land');";
continue;
}
if (key === "cursor") continue; // cursor should be default
if (this.hasAttribute(key)) continue; // don't add style if there is the same attribute
if (value === defaultStyles.getPropertyValue(key)) continue;