Pass axis for PIE:needs-dragging event

This commit is contained in:
Rikard Bartholf
2017-05-17 15:09:13 +02:00
parent 4cccacd7c6
commit afa1b13201
+1 -1
View File
@@ -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 });
};