Open Keirsti opened 4 years ago
Again into the cross-browser compatibility abyss...
Thanks for reporting, will try to reproduce and fix if possible, but at this moment I can't promise anything.
If it's unresolveable or not worth the effort, it's not the end of the world - I can switch browsers or mousewheel rotate and keep it installed for my players if they want to use something Chromium-based - but I appreciate you taking a look. :)
It's currently too difficult for me. I will try to get back to it once I have more time.
To summarise:
drag
mouse events, that allow to freely drag item around, and in Chromium-based browsers sets coordinates of mouse to eventdrag
events. I could use mousemove
event, but this has it's own limitation (like works only when mouse is on rotating handle), and any solution I could come up with was jerky at best, but that meant it would be jerky fo Chromium browsers as well. So currently I'm out of ideas.
Bonus: while looking for a solution I broke my game :D
Understandable and acceptable - I'll let my folks know their options. Thanks for digging - and, uh, that sure is a screenshot haha.
Module Version: v0.1.1
Describe the bug When attempting to click and drag the anchor to rotate a token using this module, the rotation does not occur (or, rather, seems to occur only briefly) - instead, Firefox seems to treat this as an attempt to drag the image associated with the anchor (i.e. to drag and drop it in another window or application). Testing in Chrome on the same device shows that the module indeed works as intended.
To Reproduce Steps to reproduce the behavior:
Expected behavior Token rotation works as described in the module - drag the anchor image around the token to rotate the token
Screenshots Screenshot taken while attempting to drag the anchor to rotate.
Browser: Mozilla Firefox 78.0.2 (64-bit) - does not work as expected Google Chrome 83.0.4103.116 (64-bit) - does work as expected
Foundry Version: 0.6.5 (Release Channel) Game System: D&D 5e Additional context n/a