Skip to content

Commit

Permalink
chore: remove invalid links
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoiver committed Oct 17, 2024
1 parent d27e4a5 commit 85b9005
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/shapes/Shape.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function Shapable<TBase extends GConstructor<Shape>>(Base: TBase) {
}

getBounds(skipUpdateTransform?: boolean) {
if (!this.boundsDirtyFlag) {
if (!this.boundsDirtyFlag && !this.transformDirtyFlag) {
return this.bounds;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/site/docs/reference/polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ SVG 并不不存在同名属性,可选值包括 `center` `inner` 和 `outer`

参考:[fill for polyline]

[stroke-linecap]: (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap)
[stroke-linejoin]: (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin)
[stroke-linecap]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap
[stroke-linejoin]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin
[stroke-miterlimit]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit
[stroke-dashoffset]: https://developer.mozilla.org/zh-CN/docs/Web/SVG/Attribute/stroke-dashoffset
[stroke-dasharray]: https://developer.mozilla.org/zh-CN/docs/Web/SVG/Attribute/stroke-dasharray
Expand Down
4 changes: 2 additions & 2 deletions packages/site/docs/zh/reference/polyline.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ SVG 并不不存在同名属性,可选值包括 `center` `inner` 和 `outer`

参考:[fill for polyline]

[stroke-linecap]: (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap)
[stroke-linejoin]: (https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin)
[stroke-linecap]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linecap
[stroke-linejoin]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-linejoin
[stroke-miterlimit]: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/stroke-miterlimit
[stroke-dashoffset]: https://developer.mozilla.org/zh-CN/docs/Web/SVG/Attribute/stroke-dashoffset
[stroke-dasharray]: https://developer.mozilla.org/zh-CN/docs/Web/SVG/Attribute/stroke-dasharray
Expand Down

0 comments on commit 85b9005

Please sign in to comment.