Skip to content

Commit

Permalink
Merge pull request #2996 from lottielab/fix-hidden-styles-reappearing
Browse files Browse the repository at this point in the history
Fix hidden styles being reset to visible
  • Loading branch information
AliT3 authored Mar 19, 2024
2 parents ff97f94 + 681b9c6 commit b32aa83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/js/elements/svgElements/SVGShapeElement.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ SVGShapeElement.prototype.searchShapes = function (arr, itemsData, prevViewData,
if (!processedPos) {
itemsData[i] = this.createStyleElement(arr[i], level);
} else {
itemsData[i].style.closed = false;
itemsData[i].style.closed = arr[i].hd;
}
if (arr[i]._render) {
if (itemsData[i].style.pElem.parentNode !== container) {
Expand Down

0 comments on commit b32aa83

Please sign in to comment.