Skip to content

Commit

Permalink
Merge pull request #1645 from Azmoria/Internal---remove-conditions-fr…
Browse files Browse the repository at this point in the history
…om-darkness-aoe

Internal - remove conditions from darkness aoe
  • Loading branch information
Azmoria authored Oct 21, 2023
2 parents c4d77c7 + 8a0996c commit 1e2e40f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions Token.js
Original file line number Diff line number Diff line change
Expand Up @@ -1924,6 +1924,7 @@ class Token {
height: `calc(${tok.css('height')} / var(--scene-scale))`,
})
tokenClone.attr('data-darkness', `darkness_${this.options.id}`);
tokenClone.find('.conditions').remove();
tokenClone.removeClass(['token', 'VTTToken']);
if($(`[data-darkness='darkness_${this.options.id}]'`).length == 0)
$('#light_container').append(tokenClone);
Expand Down
5 changes: 2 additions & 3 deletions abovevtt.css
Original file line number Diff line number Diff line change
Expand Up @@ -2968,9 +2968,8 @@ body:not(.body-rpgcampaign-details) .sidebar__pane-content {


/* END AOE STYLES */
.token.isAoe{
visibility: hidden;
}


.token.isAoe .token-image,
.token.isAoe .token-image *,
.token.isAoe:before,
Expand Down

0 comments on commit 1e2e40f

Please sign in to comment.