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

Change mouse cursor on mouse-over. #92

Open
Jensenator360 opened this issue Jan 26, 2022 · 1 comment
Open

Change mouse cursor on mouse-over. #92

Jensenator360 opened this issue Jan 26, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@Jensenator360
Copy link

It would be great if you could change the mouse cursor on mouse-over to a hand or something to show the players that the hotspot is clickable.

@Jensenator360 Jensenator360 added the enhancement New feature or request label Jan 26, 2022
@lucasmiranda2711
Copy link

Just found out a silly way to do it, but you would need to change it to the tokens layers, some time ago I asked the developers a quality of life flag on objects to change the icon on hover, I think it would be the best option, but for now we could go with:


canvas.drawings.placeables[0].cursor = "pointer";
canvas.tokens.addChild(canvas.drawings.placeables[0]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants