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

[g-canvas] stroke 为空字符串时计算包围盒有误 #1616

Closed
xiaoiver opened this issue Jan 3, 2024 · 0 comments
Closed

[g-canvas] stroke 为空字符串时计算包围盒有误 #1616

xiaoiver opened this issue Jan 3, 2024 · 0 comments
Assignees
Labels

Comments

@xiaoiver
Copy link
Contributor

xiaoiver commented Jan 3, 2024

导致擦除不干净

截屏2024-05-23 下午1 36 27
const circle = new Circle({
  style: {
    cx: 100,
    cy: 100,
    r: 50,
    stroke: "",
    fill: "red",
  },
});
@xiaoiver xiaoiver self-assigned this Jan 3, 2024
@xiaoiver xiaoiver added the bug label Jan 3, 2024
xiaoiver added a commit that referenced this issue May 23, 2024
* fix: render correctly in canvas when stroke is empty #1616

* chore: commit changeset

* fix: support gradient text in canvas & svg #1572
xiaoiver added a commit that referenced this issue May 23, 2024
* fix: support gradient text (#1694)

* fix: render correctly in canvas when stroke is empty #1616

* chore: commit changeset

* fix: support gradient text in canvas & svg #1572

* chore(release): bump version (#1695)

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

* chore: transform d3-color in jest

* fix: skip filling on text

---------

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

1 participant