File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 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;
598598var getBBox = require ( '../assets/get_bbox' ) ;
599599
600600function mouseDown ( node , x , y ) {
601- node . dispatchEvent ( new window . MouseEvent ( 'mousedown' , {
601+ node . dispatchEvent ( new MouseEvent ( 'mousedown' , {
602602 bubbles : true ,
603603 clientX : x ,
604604 clientY : y
605605 } ) ) ;
606606}
607607
608608function mouseMove ( node , x , y ) {
609- node . dispatchEvent ( new window . MouseEvent ( 'mousemove' , {
609+ node . dispatchEvent ( new MouseEvent ( 'mousemove' , {
610610 bubbles : true ,
611611 clientX : x ,
612612 clientY : y
613613 } ) ) ;
614614}
615615
616616function mouseUp ( node , x , y ) {
617- node . dispatchEvent ( new window . MouseEvent ( 'mouseup' , {
617+ node . dispatchEvent ( new MouseEvent ( 'mouseup' , {
618618 bubbles : true ,
619619 clientX : x ,
620620 clientY : y
You can’t perform that action at this time.
0 commit comments