beta
This commit is contained in:
@@ -4751,7 +4751,7 @@ WeakAuras.event_prototypes = {
|
||||
local remainingCheck = %s
|
||||
local inverseTrigger = %s
|
||||
|
||||
local show, expirationTime, castType, spell, icon, startTime, endTime, interruptible, remaining
|
||||
local show, expirationTime, castType, spell, icon, startTime, endTime, interruptible, remaining, _
|
||||
|
||||
spell, _, _, icon, startTime, endTime, _, _, interruptible = UnitCastingInfo(unit)
|
||||
if spell then
|
||||
|
||||
@@ -391,7 +391,7 @@ local function modify(parent, region, data)
|
||||
or data.displayIcon
|
||||
or "Interface\\Icons\\INV_Misc_QuestionMark"
|
||||
);
|
||||
icon:SetTexture(iconPath);
|
||||
icon:SetTexture(iconPath)
|
||||
icon:SetDesaturated(data.desaturate);
|
||||
end
|
||||
|
||||
|
||||
@@ -231,10 +231,8 @@ local function modifyThumbnail(parent, frame, data)
|
||||
frame:SetParent(parent)
|
||||
|
||||
function frame:SetIcon(path)
|
||||
local success = self.icon:SetTexture(data.auto and path or data.displayIcon) and (data.auto and path or data.displayIcon);
|
||||
if not(success) then
|
||||
self.icon:SetTexture("Interface\\Icons\\INV_Misc_QuestionMark");
|
||||
end
|
||||
local iconPath = data.auto and path or data.displayIcon or "Interface\\Icons\\INV_Misc_QuestionMark"
|
||||
self.icon:SetTexture(iconPath)
|
||||
end
|
||||
|
||||
if data then
|
||||
|
||||
Reference in New Issue
Block a user