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

Arrow label can overlap its bound shape when it has no arrow head #3433

Closed
SomeHats opened this issue Apr 10, 2024 · 1 comment · Fixed by #3512
Closed

Arrow label can overlap its bound shape when it has no arrow head #3433

SomeHats opened this issue Apr 10, 2024 · 1 comment · Fixed by #3512
Assignees
Labels
bug Something isn't working

Comments

@SomeHats
Copy link
Contributor

We do this to allow dragging all the way to arrow-start on unbound arrows, but for bound ones we should prevent the label from going all the way to the start.

Image

Copy link

linear bot commented Apr 10, 2024

@SomeHats SomeHats added the bug Something isn't working label Apr 10, 2024
@mimecuvalo mimecuvalo self-assigned this Apr 17, 2024
github-merge-queue bot pushed a commit that referenced this issue Apr 17, 2024
Fixes #3433

### Change Type

<!-- ❗ Please select a 'Scope' label ❗️ -->

- [x] `sdk` — Changes the tldraw SDK
- [ ] `dotcom` — Changes the tldraw.com web app
- [ ] `docs` — Changes to the documentation, examples, or templates.
- [ ] `vs code` — Changes to the vscode plugin
- [ ] `internal` — Does not affect user-facing stuff

<!-- ❗ Please select a 'Type' label ❗️ -->

- [x] `bugfix` — Bug fix
- [ ] `feature` — New feature
- [ ] `improvement` — Improving existing features
- [ ] `chore` — Updating dependencies, other boring stuff
- [ ] `galaxy brain` — Architectural changes
- [ ] `tests` — Changes to any test code
- [ ] `tools` — Changes to infrastructure, CI, internal scripts,
debugging tools, etc.
- [ ] `dunno` — I don't know


### Release Notes

- Arrows: fix label positioning when bound.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants