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

[BUG] button description #238

Open
mrcomac opened this issue Apr 10, 2024 · 1 comment
Open

[BUG] button description #238

mrcomac opened this issue Apr 10, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mrcomac
Copy link

mrcomac commented Apr 10, 2024

Describe the bug
Not sure if it's a bug or i'm doing something wrong.

I'm trying to create buttons with the field description, however the description doesn't display when I let the mouse on the button, it shows the name of the button.

example:

{
        id:'move',
        name: "Move",
        img: "icons/skills/movement/arrow-upward-yellow.webp",
        description: "Move up to your Pace in inches, up to once per turn. You don't need to move all at once, you can split it.",
        encodedValue: ['main_action', "move"].join(delimiter)
    }

Steps to reproduce

  1. Add a button with the field description (addActions within the class ActionHandler)
  2. Go and let the mouse on the button
  3. It shows the button name

Versions:

  • Token Action HUD Core: 1.5.4
  • Token Action HUD for Savage Worlds: 0.9.6
  • System: swade 3.3.11
  • Foundry VTT: 315
  • Browser: Chrome

Additional context
i'm trying to update the hud to provide a new help menu for players. This new group of buttons will display action and free actions players can take during a combat.

@mrcomac mrcomac added the bug Something isn't working label Apr 10, 2024
@Larkinabout
Copy link
Owner

Is it because the property is tooltip and not description?

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