Skip to content

Commit

Permalink
Beta fix - darkness aoe rotations wern't always displayed correctly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Azmoria committed Oct 21, 2023
1 parent 0f236e7 commit b0d5ea3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Token.js
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ class Token {
'--token-rotation': `${rotation}deg`,
'--token-scale': imageScale
})
$(`.isAoe[data-id='${this.options.id}']:not(.token) .token-image`).css("transform", "scale(var(--token-scale)) rotate(var(--token-rotation))");


setTimeout(function() {old.find(".token-image").css("transition", "")}, 200);

Expand Down
5 changes: 5 additions & 0 deletions abovevtt.css
Original file line number Diff line number Diff line change
Expand Up @@ -6354,9 +6354,14 @@ div.ddbc-tab-options--layout-pill>button{


[data-darkness]{
transform: rotate(var(--token-rotation));
z-index:15 !important;
opacity: 1 !important;
}
[data-darkness] .token-image{
transform: none !important;

}
[data-darkness] .aoe-style-darkness,
[data-darkness] .aoe-border-cone{
opacity: 1 !important;
Expand Down

0 comments on commit b0d5ea3

Please sign in to comment.