zrender
zrender copied to clipboard
fix(dirtyRect): text dirty rect considered when text in host
- Resolve https://github.com/apache/echarts/issues/16534
Why
when enabling dirty rect, and then clicking the button in the toolbox, the zrender consider where should to repainted, but does not consider text when they are hosted in another element, so, maybe we should consider ignore textElment when they hosted in other element and the host element that is ignored.
Before

After

hi, @pissang Is there anything else wrong with this pr