mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
fix: #1026, remove mask-image on export
This commit is contained in:
parent
52e3088763
commit
845dc893d2
3 changed files with 2 additions and 8 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue