From 845dc893d2a53898d7115a176d174a8c5f3f8207 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 10 Dec 2023 16:52:47 +0400 Subject: [PATCH] fix: #1026, remove mask-image on export --- index.html | 2 +- modules/io/export.js | 6 ------ versioning.js | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 7405ff94..6f7cf509 100644 --- a/index.html +++ b/index.html @@ -8044,7 +8044,7 @@ - + diff --git a/modules/io/export.js b/modules/io/export.js index 7a6c65a7..527705e5 100644 --- a/modules/io/export.js +++ b/modules/io/export.js @@ -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; diff --git a/versioning.js b/versioning.js index 4e4fb075..796444c7 100644 --- a/versioning.js +++ b/versioning.js @@ -1,7 +1,7 @@ "use strict"; // version and caching control -const version = "1.95.04"; // generator version, update each time +const version = "1.95.05"; // generator version, update each time { document.title += " v" + version;