zrender icon indicating copy to clipboard operation
zrender copied to clipboard

fix(dirtyRect): text dirty rect considered when text in host

Open linghaoSu opened this issue 3 years ago • 1 comments

  • 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

image

After

image

linghaoSu avatar Feb 21 '22 16:02 linghaoSu

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

linghaoSu avatar May 11 '23 15:05 linghaoSu