• jamiewalch's avatar
    Use offsetX and offsetY to position the fake mouse cursor. · a19b1988
    jamiewalch authored
    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
    
    Review URL: https://codereview.chromium.org/923013004
    
    Cr-Commit-Position: refs/heads/master@{#317447}
    a19b1988
desktop_connected_view.js 35.4 KB