Skip to content

Commit

Permalink
fix #172
Browse files Browse the repository at this point in the history
  • Loading branch information
Repooc committed Aug 4, 2024
1 parent 3771222 commit c7324de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tukui/Modules/Miscellaneous/AltPowerBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ local T, C, L = unpack((select(2, ...)))

local Miscellaneous = T["Miscellaneous"]
local AltPowerBar = CreateFrame("Button", "TukuiAltPowerBar", T.PetHider)
local DataTextLeft = T.DataTexts.Panels.Left

function AltPowerBar:Update()
local Status = self.Status
Expand Down Expand Up @@ -48,8 +49,8 @@ function AltPowerBar:Create()
self:SetPoint("TOP", 0, -28)
self:CreateBackdrop()
self:CreateShadow()
self:SetFrameStrata(T.DataTexts.Panels.Left:GetFrameStrata())
self:SetFrameLevel(T.DataTexts.Panels.Left:GetFrameLevel() + 10)
self:SetFrameStrata(DataTextLeft:GetFrameStrata())
self:SetFrameLevel(DataTextLeft:GetFrameLevel() + 10)
self:RegisterEvent("UNIT_POWER_BAR_SHOW")
self:RegisterEvent("UNIT_POWER_BAR_HIDE")
self:RegisterEvent("PLAYER_ENTERING_WORLD")
Expand Down

0 comments on commit c7324de

Please sign in to comment.