File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -67,14 +67,8 @@ export class StandardMouseEvent implements IMouseEvent {
6767 this . altKey = e . altKey ;
6868 this . metaKey = e . metaKey ;
6969
70- if ( typeof e . pageX === 'number' ) {
71- this . posx = e . pageX ;
72- this . posy = e . pageY ;
73- } else {
74- // Probably hit by MSGestureEvent
75- this . posx = e . clientX + this . target . ownerDocument . body . scrollLeft + this . target . ownerDocument . documentElement . scrollLeft ;
76- this . posy = e . clientY + this . target . ownerDocument . body . scrollTop + this . target . ownerDocument . documentElement . scrollTop ;
77- }
70+ this . posx = e . pageX ;
71+ this . posy = e . pageY ;
7872
7973 // Find the position of the iframe this code is executing in relative to the iframe where the event was captured.
8074 const iframeOffsets = IframeUtils . getPositionOfChildWindowRelativeToAncestorWindow ( targetWindow , e . view ) ;
You can’t perform that action at this time.
0 commit comments