File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/components/canvas/anchors Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export class Anchor<T extends TAnchorProps = TAnchorProps> extends GraphComponen
7171 this . addEventListener ( "click" , this ) ;
7272 this . addEventListener ( "pointerenter" , this ) ;
7373 this . addEventListener ( "pointerdown" , this ) ;
74- this . addEventListener ( "pointerleave " , this ) ;
74+ this . addEventListener ( "pointerup " , this ) ;
7575
7676 this . computeRenderSize ( this . props . size , this . state . raised ) ;
7777 this . shift = this . props . size / 2 + props . lineWidth ;
@@ -131,7 +131,7 @@ export class Anchor<T extends TAnchorProps = TAnchorProps> extends GraphComponen
131131 this . computeRenderSize ( this . props . size , true ) ;
132132 break ;
133133 }
134- case "pointerleave " : {
134+ case "pointerup " : {
135135 this . setState ( { raised : false } ) ;
136136 this . computeRenderSize ( this . props . size , false ) ;
137137 break ;
You can’t perform that action at this time.
0 commit comments