In searchShapes(), 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 when an update occurs (e.g. via reloadShapes(), see #2983).
In
searchShapes()
, if we found a matching element for a style inthis.processedElements()
, we would reset itsclosed
property tofalse
always, even if the element is hidden. Instead, set it to the value of thehd
property to ensure that hidden styles are not re-rendered when an update occurs (e.g. viareloadShapes()
, see #2983).