fix: hit test for closed sharp curves (#7881)

This commit is contained in:
Ryan Di
2024-04-12 18:58:51 +08:00
committed by GitHub
parent 0ae9b383d6
commit 4689a6b300
2 changed files with 12 additions and 1 deletions

View File

@@ -4383,6 +4383,7 @@ class App extends React.Component<AppProps, AppState> {
return shouldTestInside(element)
? getClosedCurveShape(
element,
roughShape,
[element.x, element.y],
element.angle,