Archived
1
0
This commit is contained in:
Jeff Becker 2017-01-16 11:58:20 -05:00
parent b42a2ae138
commit e2d7846d45

View File

@ -253,8 +253,8 @@ 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, top: y,
left: x left: x