mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
simplify by replacing draggingElementPointIndex with isDragging (#1982)
* simplify by replacing draggingElementPointIndex with isDragging * add tsdoc
This commit is contained in:
parent
20500b7822
commit
c171fb4c7f
2 changed files with 18 additions and 33 deletions
|
@ -1876,7 +1876,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
|||
|
||||
if (
|
||||
this.state.editingLinearElement &&
|
||||
this.state.editingLinearElement.draggingElementPointIndex === null
|
||||
!this.state.editingLinearElement.isDragging
|
||||
) {
|
||||
const editingLinearElement = LinearElementEditor.handlePointerMove(
|
||||
event,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue