Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpers.rotateTool doesn't work #2

Open
dongnanyanhai opened this issue Aug 26, 2020 · 1 comment
Open

Helpers.rotateTool doesn't work #2

dongnanyanhai opened this issue Aug 26, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@dongnanyanhai
Copy link

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;"?

@tentone tentone added the bug Something isn't working label Sep 17, 2022
@tentone
Copy link
Owner

tentone commented Sep 17, 2022

Hello

Sorry for the late response. The rotate tools should be draggable yes.

Thanks a lor for reporting this issue.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants