Fix hidden styles being reset to visible
In `searcShapes()`, if we found a matching element for a style in `this.processedElements()`, we would reset its `closed` property to `false` always, even if the element is hidden. Instead, set it to the value of the `hd` property to ensure that hidden styles are not re-rendered.
D
David Davidović committed
681b9c604777372e64f1858577bc8a8c140e327e
Parent: 4b98bf5