Skip to content

Commit

Permalink
no longer fade out combat tracker on drag
Browse files Browse the repository at this point in the history
  • Loading branch information
reonZ committed Oct 12, 2024
1 parent 24a169f commit 71c5a3c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,7 @@ function refreshSidebar() {
}

function getFadingElements(event?: DragEvent) {
const elements: Maybe<{ classList: DOMTokenList | undefined }>[] = [
...PF2eHudPopup.apps,
HUDS.tracker,
];
const elements: Maybe<{ classList: DOMTokenList | undefined }>[] = [...PF2eHudPopup.apps];

if (event) {
elements.push(HUDS.token.mainElement);
Expand All @@ -349,7 +346,7 @@ function getFadingElements(event?: DragEvent) {
}
}
} else {
elements.push(HUDS.persistent);
elements.push(HUDS.persistent, HUDS.tracker);
}

return elements;
Expand Down

0 comments on commit 71c5a3c

Please sign in to comment.