Skip to content

Commit

Permalink
Trying to fix the private-auras occasionally not now showing when too…
Browse files Browse the repository at this point in the history
…ltips are disabled(CF issue #1316)
  • Loading branch information
michaelnpsp committed Nov 7, 2024
1 parent 7d89941 commit ab5e13f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions modules/IndicatorPrivateAuras.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,15 @@ local RemovePrivateAuraAnchor = C_UnitAuras.RemovePrivateAuraAnchor
if not AddPrivateAuraAnchor then return end

local function AcquireTooltipFrame()
AcquireTooltipFrame = function() tooltipFrame:Show(); return tooltipFrame end
tooltipFrame = CreateFrame("Frame", nil , Grid2LayoutFrame)
AcquireTooltipFrame = function()
tooltipFrame:SetScale(Grid2Layout.db.profile.ScaleSize)
tooltipFrame:Show()
return tooltipFrame
end
tooltipFrame = CreateFrame("Frame", "Grid2PrivateAurasTooltipAnchorFrame", UIParent)
tooltipFrame:SetFrameStrata("TOOLTIP")
tooltipFrame:SetFrameLevel(255)
return tooltipFrame
tooltipFrame:SetFrameLevel(127)
return AcquireTooltipFrame()
end

local function ReleaseTooltipFrame()
Expand Down

0 comments on commit ab5e13f

Please sign in to comment.