Index: remoting/webapp/crd/js/client_session.js |
diff --git a/remoting/webapp/crd/js/client_session.js b/remoting/webapp/crd/js/client_session.js |
index 1f396925bc505a342fcfbe5c9e6b4b42634cc514..2a530959379a58103f284d98b92cbee26ec0dd08 100644 |
--- a/remoting/webapp/crd/js/client_session.js |
+++ b/remoting/webapp/crd/js/client_session.js |
@@ -176,8 +176,8 @@ remoting.ClientSession = function(signalStrategy, container, hostDisplayName, |
var img = this.mouseCursorOverlay_; |
/** @param {Event} event @private */ |
this.updateMouseCursorPosition_ = function(event) { |
- img.style.top = event.y + 'px'; |
- img.style.left = event.x + 'px'; |
+ img.style.top = event.offsetY + 'px'; |
kelvinp
2015/02/20 21:46:22
Is this ToT? This function has been moved to desk
Jamie
2015/02/20 22:46:03
No, I was behind. Thanks for the heads-up.
|
+ img.style.left = event.offsetX + 'px'; |
}; |
/** @type {remoting.GnubbyAuthHandler} @private */ |