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.
25 lines
793 B
25 lines
793 B
NarciCompetitiveDisplayMixin = {};
|
|
|
|
function NarciCompetitiveDisplayMixin:OnLoad()
|
|
self:ClearAllPoints();
|
|
self:SetPoint("TOP", Narci_ConciseStatFrame.Primary, "TOP", 0, 0);
|
|
|
|
self.LoadingOverlay.LoadingIndicator:SetTexture("Interface\\AddOns\\Narcissus\\Art\\Modules\\Competitive\\LoadingIndicator", nil, nil, "TRILINEAR");
|
|
end
|
|
|
|
function NarciCompetitiveDisplayMixin:ShowMythicPlus()
|
|
self.MythicPlus:Update();
|
|
end
|
|
|
|
function NarciCompetitiveDisplayMixin:HideLoading()
|
|
if self.LoadingOverlay:IsShown() then
|
|
self.LoadingOverlay.FadeOut:Play();
|
|
end
|
|
end
|
|
|
|
function NarciCompetitiveDisplayMixin:ShowLoading()
|
|
if not self.LoadingOverlay:IsShown() then
|
|
self.LoadingOverlay.FadeIn:Play();
|
|
self.LoadingOverlay:Show();
|
|
end
|
|
end
|