Closed sdumetz closed 3 days ago
I really like this optimization, but it seems to have broken the annotation truncation functionality. I'll take a deeper look when I have a chance but see the screen shots below for an example of the result with this PR (top) and master (bottom) when panning an annotation to the top edge of the component element.
Merged to rc-46. Thanks!
HTMLSprite.renderHTMLElement
andHTMLSpriteGroup.render
were causing unnecessary forced reflows within their render loops.skipping
getBoundingClientRect()
where possible solves it.Basically free performance gain, about .5 ms per annotation.