Skip to content
Browse files

resolved mouse movement positioning on playback

  • Loading branch information...
1 parent 78fdd9f commit 294adb1f3334eb9da11a75410b92c1c5b97aaf87 @pgte committed Dec 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 assets/javascripts/cymain.js
View
2 assets/javascripts/cymain.js
@@ -182,7 +182,7 @@ Cyclops.prototype.playEvent_mousemove = function(e) {
var el;
if(el = slave.__find_object_in_location(e.data.x- (document.body.scrollLeft + document.documentElement.scrollLeft),
e.data.y - (document.body.scrollTop + document.documentElement.scrollTop))) {
- var jsEvent = this.__create_event('mousemove', e.data.x- (document.body.scrollLeft + document.documentElement.scrollLeft), e.data.y- (document.body.scrollTop + document.documentElement.scrollTop));
+ var jsEvent = this.__create_event('mousemove', e.data.x/*- (document.body.scrollLeft + document.documentElement.scrollLeft)*/, e.data.y /*- (document.body.scrollTop + document.documentElementscrollTop)*/);
$(el).trigger(jsEvent);
}
}

0 comments on commit 294adb1

Please sign in to comment.
Something went wrong with that request. Please try again.