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

Rescue HUD isn't updated until mouseexit #16

Open
esheyw opened this issue Jul 1, 2023 · 5 comments
Open

Rescue HUD isn't updated until mouseexit #16

esheyw opened this issue Jul 1, 2023 · 5 comments

Comments

@esheyw
Copy link

esheyw commented Jul 1, 2023

As long as the mouse is over a rescue hud token image, the list of hidden tokens isn't updated

@uniwars
Copy link

uniwars commented Jul 12, 2023

Same.

@xaukael
Copy link
Owner

xaukael commented Jul 12, 2023

That was an issue that came up due to hover selectors. I might be able to come up with a better solution, perhaps just refreshing every time it is clicked, though that will surely introduce some other weird behavior.

@xaukael
Copy link
Owner

xaukael commented Jul 14, 2023

I changed it to make it update when a token is clicked. That should resolve this issue?

@uniwars
Copy link

uniwars commented Jul 14, 2023

yes it seems to work fine, idk if it's new or not but as GM when clicking on a mini token it will select the actor, and when right clicking it will also select it, so it's impossible to target a hidden token without also selecting it

@esheyw
Copy link
Author

esheyw commented Jul 15, 2023

This (current release of the module behaviour) is objectively better, but still a couple notes:

  1. first in the gif, you can see that now the hud doesn't go away when the mouse isn't hovering anything in the stack, until a different token/stack is hovered. not a huge problem, but would be cleaner if it hid on mouseexit from the stack, if that's determinable
  2. Like uniwars noted, there's some weirdness with right clicking. sometimes it opens the token hud for the top of the stack, sometimes for the rescue hud token. Personally, I think you should eat right clicks and reject them entirely. doing something to the token should consist of bringing it to the top first, then do stuff. This is a philosophical position others might not agree with though 🤷‍♂️

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

No branches or pull requests

3 participants