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 ;
@@ -126,7 +126,7 @@ export class Anchor<T extends TAnchorProps = TAnchorProps> extends GraphComponen
126126 this . computeRenderSize ( this . props . size , true ) ;
127127 break ;
128128 }
129- case "pointerleave " : {
129+ case "pointerup " : {
130130 this . setState ( { raised : false } ) ;
131131 this . computeRenderSize ( this . props . size , false ) ;
132132 break ;
You can’t perform that action at this time.
0 commit comments