From 8dbf23d510d279b05e7f9b20e917fae41cf47fbf Mon Sep 17 00:00:00 2001 From: Vollmer Date: Wed, 20 Nov 2024 14:36:07 +0100 Subject: [PATCH] make sure .isTempEnchant doesn't stick so tooltips function properly --- Widgets/Auras/Auras.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Widgets/Auras/Auras.lua b/Widgets/Auras/Auras.lua index f926af7..e6743c1 100644 --- a/Widgets/Auras/Auras.lua +++ b/Widgets/Auras/Auras.lua @@ -511,12 +511,14 @@ local function UpdateAuraIcons(icons) auraData.refreshing ) + -- Tooltip ---@diagnostic disable-next-line: undefined-field if auraData.isTempEnchant then - icons[icons._auraCount].auraInstanceID = math.abs(auraInstanceID) -- Tooltip - icons[icons._auraCount].isTempEnchant = true -- Tooltip + icons[icons._auraCount].auraInstanceID = math.abs(auraInstanceID) + icons[icons._auraCount].isTempEnchant = true else - icons[icons._auraCount].auraInstanceID = auraInstanceID -- Tooltip + icons[icons._auraCount].auraInstanceID = auraInstanceID + icons[icons._auraCount].isTempEnchant = false end icons[icons._auraCount]:PostUpdate(auraData)