diff --git a/modules/mirrortimers.lua b/modules/mirrortimers.lua new file mode 100644 index 00000000..c29e14f8 --- /dev/null +++ b/modules/mirrortimers.lua @@ -0,0 +1,12 @@ +pfUI:RegisterModule("mirrortimers", function () + for i = 1, MIRRORTIMER_NUMTIMERS do + _G["MirrorTimer" .. i]:GetRegions():Hide() + _G["MirrorTimer" .. i .. "Border"]:Hide() + _G["MirrorTimer"..i.."Text"]:SetFont(pfUI.font_default, 12, "OUTLINE") + + local mirrorTimerBar = _G["MirrorTimer" .. i .. "StatusBar"] + mirrorTimerBar:SetPoint("TOP", 0, 0) + mirrorTimerBar:SetStatusBarTexture("Interface\\AddOns\\pfUI\\img\\bar") + pfUI.api.CreateBackdrop(mirrorTimerBar) + end +end) diff --git a/pfUI.toc b/pfUI.toc index 180d944f..59525b75 100644 --- a/pfUI.toc +++ b/pfUI.toc @@ -82,3 +82,4 @@ modules\debuffs.lua modules\uf_tukui.lua modules\custom.lua modules\gm.lua +modules\mirrortimers.lua