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

Fix mode buttons visibility for Foundry v10 (#35) #36

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jagoe
Copy link

@jagoe jagoe commented Nov 21, 2022

PR

This PR is supposed to fix #35 by using the new element matchers, falling back to the old matchers for older versions of Foundry.

Changes

  • Fix mode buttons parent selection for Foundry v10
    • Defaults to the new matchers (.combat-sidebar .combat-tracker-header)
    • Falls back to the old matchers (#combat > #combat-round)

Notes

  • Tested with Foundry v10.288 and Foundry v9.280

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

Successfully merging this pull request may close these issues.

[Bug]: Mode buttons missing in v10
1 participant