Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-16 11:57:57 -05:00
parent 91476b700c
commit b42a2ae138

View File

@ -253,11 +253,11 @@ function init(prefix) {
$(rpl.elem).on("mousemove", function(ev) { $(rpl.elem).on("mousemove", function(ev) {
if ($dragging) { if ($dragging) {
var x = ev.pageX - $(this).width() / 2, var x = ev.pageX, // - $(this).width() / 2,
y = ev.pageY - $(this).height() / 2; y = ev.pageY; //- $(this).height() / 2;
$dragging.offset({ $dragging.offset({
top: y - 50, top: y,
left: x - 50 left: x
}); });
} }
}); });