Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

批量处理一组Cell时,会在短时间大量画布重绘,但关闭以后画面又无法更新;是否有一个手动重绘的方法? #4160

Open
hsbtr opened this issue Jan 18, 2024 · 5 comments

Comments

@hsbtr
Copy link

hsbtr commented Jan 18, 2024

问题描述

批量处理一组Cell隐藏;如果silent: true;那么画面就不会重绘

重现链接

no

重现步骤

image

预期行为

可以手动重绘

平台

  • 操作系统: Windows, React
  • 网页浏览器: Google Chrome
  • X6 版本: 2.16.1

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@roojay520
Copy link

@hsbtr 批量相关操作可以说试下这个 startbatch

@hsbtr
Copy link
Author

hsbtr commented Feb 2, 2024

@hsbtr 批量相关操作可以说试下这个 startbatch

非常感谢,我去试试

@cuidong626
Copy link
Contributor

image
事务好像只能合并一系列操作,并不能合并成一起渲染。

@RootJian
Copy link

+1,而且在循环修改node节点的位置时,线条会重绘制路径,但是后续节点尚未发生移动线条的绘制路径和实际不一致,hover线条导致线条跳动

@damnright
Copy link
Contributor

setAttrs任意一个属性 会触发重绘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants