Pass axis for PIE:needs-dragging event
This commit is contained in:
@@ -131,7 +131,7 @@ function Viewport(canvas) {
|
||||
canvas.getButtonMenu().bringToFront();
|
||||
|
||||
// Trigger event to tell the image needs to be dragged.
|
||||
$(document).trigger('PIE:needs-dragging');
|
||||
$(document).trigger('PIE:needs-dragging', { axis: _data.axis });
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user