mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Merge branch 'master' of https://github.com/Azgaar/Fantasy-Map-Generator into v1.96
This commit is contained in:
commit
15b21a792e
1 changed files with 0 additions and 6 deletions
|
|
@ -389,12 +389,6 @@ function inlineStyle(clone) {
|
||||||
const key = compStyle[i];
|
const key = compStyle[i];
|
||||||
const value = compStyle.getPropertyValue(key);
|
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 (key === "cursor") continue; // cursor should be default
|
||||||
if (this.hasAttribute(key)) continue; // don't add style if there is the same attribute
|
if (this.hasAttribute(key)) continue; // don't add style if there is the same attribute
|
||||||
if (value === defaultStyles.getPropertyValue(key)) continue;
|
if (value === defaultStyles.getPropertyValue(key)) continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue