File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -598,23 +598,23 @@ var DBLCLICKDELAY = require('@src/plots/cartesian/constants').DBLCLICKDELAY;
598
598
var getBBox = require ( '../assets/get_bbox' ) ;
599
599
600
600
function mouseDown ( node , x , y ) {
601
- node . dispatchEvent ( new MouseEvent ( 'mousedown' , {
601
+ node . dispatchEvent ( new window . MouseEvent ( 'mousedown' , {
602
602
bubbles : true ,
603
603
clientX : x ,
604
604
clientY : y
605
605
} ) ) ;
606
606
}
607
607
608
608
function mouseMove ( node , x , y ) {
609
- node . dispatchEvent ( new MouseEvent ( 'mousemove' , {
609
+ node . dispatchEvent ( new window . MouseEvent ( 'mousemove' , {
610
610
bubbles : true ,
611
611
clientX : x ,
612
612
clientY : y
613
613
} ) ) ;
614
614
}
615
615
616
616
function mouseUp ( node , x , y ) {
617
- node . dispatchEvent ( new MouseEvent ( 'mouseup' , {
617
+ node . dispatchEvent ( new window . MouseEvent ( 'mouseup' , {
618
618
bubbles : true ,
619
619
clientX : x ,
620
620
clientY : y
You can’t perform that action at this time.
0 commit comments