From 71c5a3c126bde4bda68e9013ab4b4fe1dedb5d65 Mon Sep 17 00:00:00 2001 From: Idle <651462+reonZ@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:17:22 +0200 Subject: [PATCH] no longer fade out combat tracker on drag --- src/main.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index afba1e0..7c0a5ab 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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); @@ -349,7 +346,7 @@ function getFadingElements(event?: DragEvent) { } } } else { - elements.push(HUDS.persistent); + elements.push(HUDS.persistent, HUDS.tracker); } return elements;