Skip to content

Commit

Permalink
fix: #1026, remove mask-image on export
Browse files Browse the repository at this point in the history
  • Loading branch information
Azgaar committed Dec 10, 2023
1 parent 52e3088 commit 845dc89
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8044,7 +8044,7 @@
<script defer src="modules/io/save.js?v=1.93.02"></script>
<script defer src="modules/io/load.js?v=1.95.00"></script>
<script defer src="modules/io/cloud.js?v=1.94.04"></script>
<script defer src="modules/io/export.js?v=1.94.03"></script>
<script defer src="modules/io/export.js?v=1.95.05"></script>
<script defer src="modules/io/formats.js"></script>

<!-- Web Components -->
Expand Down
6 changes: 0 additions & 6 deletions modules/io/export.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion versioning.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 845dc89

Please sign in to comment.