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,
|
||||
offset: {
|
||||
x: event.offsetX,
|
||||
y: event.offsetY
|
||||
x: event.pageX - $(this).parent().offset().left,
|
||||
y: event.pageY - $(this).parent().offset().top
|
||||
},
|
||||
type: $(this).parent().data("type")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user