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

feat(edgeless): optimize double click to enter canvas text edit state under hollow shape #5043

Conversation

donteatfriedrice
Copy link
Member

@donteatfriedrice donteatfriedrice commented Oct 17, 2023

To close #4764

  • Optimize hollow shape hit test
  • Without shape text, stroke and center area can be hit
Screen.Recording.2023-10-18.at.10.59.13.mov
  • With shape text, stroke and text area can be hit
Screen.Recording.2023-10-18.at.10.59.41.mov
  • Text element outside shape hit area (under hollow shape) can be hit
Screen.Recording.2023-10-18.at.11.01.44.mov

@vercel
Copy link

vercel bot commented Oct 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2023 11:30am
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
blocksuite-docs ⬜️ Ignored (Inspect) Visit Preview Oct 18, 2023 11:30am

@doodlewind doodlewind changed the title fix(edgeless): optimize double click to enter canvas text edit state under hollow shape feat(edgeless): optimize double click to enter canvas text edit state under hollow shape Oct 19, 2023
@doodlewind doodlewind added the notable Major improvement worth emphasizing label Oct 19, 2023
Copy link
Member

@doodlewind doodlewind left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the detailed improvement!

@doodlewind doodlewind merged commit 51d5c5d into toeverything:master Oct 19, 2023
19 checks passed
@donteatfriedrice donteatfriedrice deleted the fix/enter-canvas-text-edit-state branch October 26, 2023 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notable Major improvement worth emphasizing
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

Double click editing doesn't work for shape inside hollow area
2 participants