File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
packages/visual-flow/src/model Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,8 @@ export class Graph {
621
621
622
622
this . boardScale = newScale ;
623
623
624
+ this . syncGraphAndBoardMousePos ( ) ;
625
+ this . onMouseMove ( this . mouseDown , false ) ;
624
626
this . updatePosition ( ) ;
625
627
return true ;
626
628
}
@@ -862,12 +864,16 @@ export class Graph {
862
864
863
865
onHorizontalScroll ( delta : number ) {
864
866
this . boardOffsetX += delta / this . boardScale ;
867
+ this . syncGraphAndBoardMousePos ( ) ;
868
+ this . onMouseMove ( this . mouseDown , false ) ;
865
869
this . updatePosition ( ) ;
866
870
return true ;
867
871
}
868
872
869
873
onVerticalScroll ( delta : number ) {
870
874
this . boardOffsetY += delta / this . boardScale ;
875
+ this . syncGraphAndBoardMousePos ( ) ;
876
+ this . onMouseMove ( this . mouseDown , false ) ;
871
877
this . updatePosition ( ) ;
872
878
return true ;
873
879
}
You can’t perform that action at this time.
0 commit comments