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

[BUG]The draw tool cannot display the content when it is drawn quickly, but the history is updated #91

Open
renshengyiyijihe opened this issue Sep 11, 2024 · 2 comments
Assignees

Comments

@renshengyiyijihe
Copy link

renshengyiyijihe commented Sep 11, 2024

Bug Report / The draw tool cannot display the content when it is drawn quickly, but the history is updated

Describe the bug
The draw tool cannot display the content when it is drawn quickly, but the history is updated.

To Reproduce

  1. Using draw
  2. Quick drag

期望行为 / Expected behavior
The drawing content is displayed normally.

截图 / Screenshots
20240911-174708

附加上下文 / Additional context
我建议如果这个框架想发展的更好,这段代码我认为应该去掉或者作为默认选项。因为这是你的主观判断。最好支持用户传参自定义判断。

@JessYan0913
Copy link
Owner

这个BUG可以给录个视频吗?我没有还原出来

image
这里确实可以当作默认值来处理

@renshengyiyijihe
Copy link
Author

renshengyiyijihe commented Sep 29, 2024

@JessYan0913 你可以这样试试,快速拖拽然后离开光标。就会出现。我认为这种逻辑属于业务逻辑,不应该加在工具库里面。

Screen-2024-09-29-110539.mp4

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

2 participants