mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-09 18:40:08 +02:00
fix: do not snap to pointer when creating
This commit is contained in:
@@ -6016,7 +6016,10 @@ class App extends React.Component<AppProps, AppState> {
|
||||
this,
|
||||
event,
|
||||
this.scene.getNonDeletedElementsMap(),
|
||||
{ includeSelfPoints: true },
|
||||
{
|
||||
includeSelfPoints: true,
|
||||
selectedPointsIndices: [points.length - 1],
|
||||
},
|
||||
);
|
||||
|
||||
if (snapLines.length > 0) {
|
||||
@@ -8798,7 +8801,10 @@ class App extends React.Component<AppProps, AppState> {
|
||||
this,
|
||||
event,
|
||||
this.scene.getNonDeletedElementsMap(),
|
||||
{ includeSelfPoints: true },
|
||||
{
|
||||
includeSelfPoints: true,
|
||||
selectedPointsIndices: [points.length - 1],
|
||||
},
|
||||
);
|
||||
|
||||
if (snapLines.length > 0) {
|
||||
|
Reference in New Issue
Block a user