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

[Feature] Dragging area highlighting #17

Open
gracefh opened this issue Feb 23, 2024 · 0 comments
Open

[Feature] Dragging area highlighting #17

gracefh opened this issue Feb 23, 2024 · 0 comments

Comments

@gracefh
Copy link
Contributor

gracefh commented Feb 23, 2024

Highlighting to indicate which areas to drop object in to break relation

Steps (maybe):

  • Potentially look at DefaultSelectionForeground and DefaultSelectionBackground components in TLDraw repo (idrk what exactly is going on here yet)
  • TLdraw uses this tl-html-layer thing to transform the x coordinates if necessary -- we'll probably have to see how we can access that (or maybe we can just add it onto the html there?)
  • We might need to start storing rotation information as well so that the selection looks right?
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

1 participant