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

fix(brush): handle brush:highlight once when emit #5063

Merged
merged 1 commit into from
May 19, 2023
Merged

fix(brush): handle brush:highlight once when emit #5063

merged 1 commit into from
May 19, 2023

Conversation

pearmini
Copy link
Member

  • 问题:初始化,触发 emit 'brush:highlight', 会触发两次 highlight。
  • 解决办法: brush.move 判断是否需要触发事件。

@pearmini pearmini requested a review from lvisei May 19, 2023 07:23
@pearmini pearmini merged commit 321fb1b into v5 May 19, 2023
@pearmini pearmini deleted the fix/brush branch May 19, 2023 08:49
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

Successfully merging this pull request may close these issues.

2 participants