Skip to content

Commit

Permalink
Fix/edge mousedown (#3169)
Browse files Browse the repository at this point in the history
* fix: onMousedown add event notify

* fix: onMousedown add super event notify

* fix: use notifyMouseDown

---------

Co-authored-by: seven <[email protected]>
  • Loading branch information
yuedud and seven authored Jan 28, 2023
1 parent 0e87696 commit 20c170b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/x6/src/view/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ export class EdgeView<
}

onMouseDown(e: Dom.MouseDownEvent, x: number, y: number) {
this.notifyMouseDown(e, x, y)
this.startEdgeDragging(e, x, y)
}

Expand Down

0 comments on commit 20c170b

Please sign in to comment.