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

Path markerStartOffset has wrong behavior #1760

Closed
yvonneyx opened this issue Aug 23, 2024 · 0 comments
Closed

Path markerStartOffset has wrong behavior #1760

yvonneyx opened this issue Aug 23, 2024 · 0 comments
Labels

Comments

@yvonneyx
Copy link

yvonneyx commented Aug 23, 2024

复现代码:https://codesandbox.io/p/sandbox/gifted-gianmarco-xjxzp8?file=%2Findex.js%3A15%2C37&workspaceId=0bec24f4-fa27-40d6-bdd2-5e0cb3d3e779

image

设置 markerStartOffset 为 30,但是边没有向内缩 30px

@yvonneyx yvonneyx changed the title The effect of Path markerStartOffset is incorrect Path markerStartOffset has wrong behavior Aug 26, 2024
@wang1212 wang1212 added the bug label Aug 27, 2024
hustcc pushed a commit that referenced this issue Aug 27, 2024
* fix: `path` elements are drawn incorrectly after using `markerStartOffset` (#1760)

* chore: revert package.json
wang1212 added a commit that referenced this issue Aug 30, 2024
* chore: add preview demo npm script

* fix: `path` elements are drawn incorrectly (#1761)

* fix: `path` elements are drawn incorrectly after using `markerStartOffset` (#1760)

* chore: revert package.json

* fix: html element's `getBounds` logic exception (#1743) (#1764)

* Version Packages (#1762)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants