from retail

This commit is contained in:
NoM0Re
2025-01-11 16:33:30 +01:00
parent 49d0fa5f38
commit d7233fe5d7
7 changed files with 159 additions and 27 deletions
+6 -11
View File
@@ -2,13 +2,8 @@ if not WeakAuras.IsLibsOK() then return end
local AddonName, Private = ...
local LCG = LibStub("LibCustomGlow-1.0")
local MSQ, MSQ_Version = LibStub("Masque", true);
if MSQ then
if MSQ_Version <= 80100 then
MSQ = nil
end
end
local L = WeakAuras.L;
local MSQ = LibStub("Masque", true);
local L = WeakAuras.L
local default = function(parentType)
local options = {
@@ -177,16 +172,16 @@ local funcs = {
if (visible) then
self.__MSQ_Shape = self:GetParent().button.__MSQ_Shape
self:Show()
glowStart(self, self, color);
glowStart(self, self, color)
else
self.glowStop(self);
self.glowStop(self)
self:Hide()
end
elseif (visible) then
self:Show()
glowStart(self, self, color);
glowStart(self, self, color)
else
self.glowStop(self);
self.glowStop(self)
self:Hide()
end
end,