Skip to content

Commit

Permalink
0.1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhenye committed Sep 12, 2023
1 parent ce3d6b2 commit ea5505c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions dist/ass-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -1088,8 +1088,7 @@
.filter(function (slice) { return slice.fragments.length; })
.map(function (slice, idx) {
var sliceCopy = JSON.parse(JSON.stringify(slice));
var ref = sliceCopy.fragments[0];
var tag = ref.tag;
var tag = {};
if (idx) {
tag.r = slice.style === dia.style ? '' : slice.style;
} else {
Expand All @@ -1102,6 +1101,8 @@
}
});
}
// make sure additional tags are first
sliceCopy.fragments[0].tag = Object.assign(tag, sliceCopy.fragments[0].tag);
return sliceCopy;
})
.map(decompileSlice)
Expand Down
Loading

0 comments on commit ea5505c

Please sign in to comment.