7.0.3 compatibility fixes
This commit is contained in:
@ -1465,7 +1465,7 @@ function MyBagsCore:LayoutBagFrame(bagFrame)
|
||||
if self.isLive then
|
||||
local start, duration, enable = GetContainerItemCooldown(bagFrame:GetID(), slot)
|
||||
local cooldown = _G[itemButton:GetName() .. "Cooldown"]
|
||||
CooldownFrame_SetTimer(cooldown, start, duration, enable)
|
||||
CooldownFrame_Set(cooldown, start, duration, enable)
|
||||
if duration > 0 and enable == 0 then
|
||||
SetItemButtonTextureVertexColor(itemButton, 0.4, 0.4, 0.4)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user