Compare commits
No commits in common. "main" and "1.1.0" have entirely different histories.
2 changed files with 2 additions and 6 deletions
|
|
@ -4,8 +4,8 @@
|
|||
"description": "Adds a button to the token hover HUD to toggle the spotlight for Daggerheart.",
|
||||
"url": "https://git.geeks.gay/cosmo/dh-token-spotlight",
|
||||
"manifest": "https://git.geeks.gay/cosmo/dh-token-spotlight/raw/branch/main/module.json",
|
||||
"download": "https://git.geeks.gay/cosmo/dh-token-spotlight/releases/download/1.1.1/dh-token-spotlight.zip",
|
||||
"version": "1.1.1",
|
||||
"download": "https://git.geeks.gay/cosmo/dh-token-spotlight/releases/download/1.1.0/dh-token-spotlight.zip",
|
||||
"version": "1.1.0",
|
||||
"compatibility": {
|
||||
"minimum": "13",
|
||||
"verified": "13"
|
||||
|
|
|
|||
|
|
@ -54,11 +54,9 @@ Hooks.on('renderTokenHUD', (app, html, data) => {
|
|||
if (wasActive && !isRequestingMsg) {
|
||||
btn.removeClass('active');
|
||||
icon.removeClass('fa-solid dh-spotlight-glow').addClass('fa-regular');
|
||||
btn.attr('title', 'Grant Spotlight');
|
||||
} else {
|
||||
btn.addClass('active');
|
||||
icon.removeClass('fa-regular dh-spotlight-request').addClass('fa-solid dh-spotlight-glow');
|
||||
btn.attr('title', 'Take Spotlight');
|
||||
}
|
||||
await ui.combat.setCombatantSpotlight(token.combatant.id);
|
||||
}
|
||||
|
|
@ -78,11 +76,9 @@ Hooks.on('renderTokenHUD', (app, html, data) => {
|
|||
if (currentlyRequesting) {
|
||||
btn.removeClass('active');
|
||||
icon.removeClass('fa-solid dh-spotlight-request').addClass('fa-regular');
|
||||
btn.attr('title', 'Request Spotlight');
|
||||
} else {
|
||||
btn.addClass('active');
|
||||
icon.removeClass('fa-regular').addClass('fa-solid dh-spotlight-request');
|
||||
btn.attr('title', 'Cancel Spotlight Request');
|
||||
}
|
||||
|
||||
await token.combatant.update({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue