raid-compact-layout: only move existing group headers
This commit is contained in:
@@ -40,6 +40,7 @@ module.enable = function(self)
|
|||||||
-- wait for the game to be loaded
|
-- wait for the game to be loaded
|
||||||
local delay = CreateFrame("Frame")
|
local delay = CreateFrame("Frame")
|
||||||
delay:SetScript("OnUpdate", function()
|
delay:SetScript("OnUpdate", function()
|
||||||
|
if ShaguTweaksRaidHeaders then
|
||||||
-- modify group headers
|
-- modify group headers
|
||||||
for i=1, 8 do
|
for i=1, 8 do
|
||||||
if ShaguTweaksRaidHeaders[i] then
|
if ShaguTweaksRaidHeaders[i] then
|
||||||
@@ -57,6 +58,7 @@ module.enable = function(self)
|
|||||||
ShaguTweaksRaidHeaders[i]:SetAlpha(.75)
|
ShaguTweaksRaidHeaders[i]:SetAlpha(.75)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- disable delay
|
-- disable delay
|
||||||
this:Hide()
|
this:Hide()
|
||||||
|
|||||||
Reference in New Issue
Block a user