Oops
This commit is contained in:
parent
3f6b5ebaa5
commit
64caf4a2fa
@ -25,8 +25,8 @@ $("#blocks").on("mousedown", ".block>.main,.block>.inputs", function(event){
|
|||||||
},
|
},
|
||||||
dragging: true,
|
dragging: true,
|
||||||
offset: {
|
offset: {
|
||||||
x: event.offsetX,
|
x: event.pageX - $(this).parent().offset().left,
|
||||||
y: event.offsetY
|
y: event.pageY - $(this).parent().offset().top
|
||||||
},
|
},
|
||||||
type: $(this).parent().data("type")
|
type: $(this).parent().data("type")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user