escher.js
escher.js copied to clipboard
Helpers.rotateTool doesn't work
Helpers.rotateTool = function(object)
{
var tool = new Circle();
tool.radius = 4;
tool.layer = object.layer + 1;
tool.onPointerDrag = function(pointer, viewport, delta)
{
object.rotation += delta.x * 1e-3;
};
object.add(tool);
};
Does is need to add one line of "tool.draggable = true;"?
Hello
Sorry for the late response. The rotate tools should be draggable yes.
Thanks a lor for reporting this issue.
Cheers