DescriptionUse offsetX and offsetY to position the fake mouse cursor.
The mouse cursor element is positioned relative to the document body (ie, ignoring
the title bar for apps v2). However, its position was being set using the x and y
coordinates of the mouse event, which are relative to the client viewport. This CL
fixes this, using offsetX/Y, which are relative to the target element.
BUG=410473
Committed: https://crrev.com/a19b19882cd9eff4696d0a081e6fc2f9b95f9c18
Cr-Commit-Position: refs/heads/master@{#317447}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rebase #Messages
Total messages: 9 (3 generated)
|