You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
520 B
19 lines
520 B
|
3 years ago
|
local AS, L, S, R = unpack(AddOnSkins)
|
||
|
4 years ago
|
|
||
|
|
if not AS:CheckAddOn('Critline') then return end
|
||
|
|
|
||
|
3 years ago
|
function R:Critline()
|
||
|
4 years ago
|
local CritLineDisplay = Critline:GetModule('Display')
|
||
|
3 years ago
|
S:HandleFrame(CritLineDisplay)
|
||
|
4 years ago
|
for i = 1, CritLineDisplay:GetNumChildren() do
|
||
|
|
local object = select(i, CritLineDisplay:GetChildren())
|
||
|
|
if object and object:IsObjectType('Frame') then
|
||
|
|
object:SetFrameStrata('MEDIUM')
|
||
|
|
object:SetBackdrop(nil)
|
||
|
3 years ago
|
S:HandleIcon(object.icon)
|
||
|
4 years ago
|
end
|
||
|
|
end
|
||
|
|
end
|
||
|
|
|
||
|
3 years ago
|
AS:RegisterSkin('Critline', R.Critline)
|