mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
fix: hit test for closed sharp curves (#7881)
This commit is contained in:
parent
0ae9b383d6
commit
4689a6b300
2 changed files with 12 additions and 1 deletions
|
@ -4383,6 +4383,7 @@ class App extends React.Component<AppProps, AppState> {
|
|||
|
||||
return shouldTestInside(element)
|
||||
? getClosedCurveShape(
|
||||
element,
|
||||
roughShape,
|
||||
[element.x, element.y],
|
||||
element.angle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue