Compare commits
2 Commits
v60200-1.7
...
v70000-1.7
| Author | SHA1 | Date | |
|---|---|---|---|
| 570abca36f | |||
| 7e13a47e52 |
@ -1,4 +1,4 @@
|
|||||||
## Interface: 60200
|
## Interface: 70000
|
||||||
## Author: Ramble (modified by Isharra) (updated by thegabbert) (converted to Ace3 by Takika)
|
## Author: Ramble (modified by Isharra) (updated by thegabbert) (converted to Ace3 by Takika)
|
||||||
## Title: MyBags |cff007FFF -Ace3-|r
|
## Title: MyBags |cff007FFF -Ace3-|r
|
||||||
## Notes: Complete Replacement for Inventory and Bank Bags.
|
## Notes: Complete Replacement for Inventory and Bank Bags.
|
||||||
|
|||||||
@ -1465,7 +1465,7 @@ function MyBagsCore:LayoutBagFrame(bagFrame)
|
|||||||
if self.isLive then
|
if self.isLive then
|
||||||
local start, duration, enable = GetContainerItemCooldown(bagFrame:GetID(), slot)
|
local start, duration, enable = GetContainerItemCooldown(bagFrame:GetID(), slot)
|
||||||
local cooldown = _G[itemButton:GetName() .. "Cooldown"]
|
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
|
if duration > 0 and enable == 0 then
|
||||||
SetItemButtonTextureVertexColor(itemButton, 0.4, 0.4, 0.4)
|
SetItemButtonTextureVertexColor(itemButton, 0.4, 0.4, 0.4)
|
||||||
end
|
end
|
||||||
|
|||||||
@ -552,7 +552,7 @@ function MyEquipment:LayoutEquipmentFrame(self)
|
|||||||
if self.isLive then
|
if self.isLive then
|
||||||
local start,duration, enable = GetInventoryItemCooldown("player", slot)
|
local start,duration, enable = GetInventoryItemCooldown("player", slot)
|
||||||
local cooldown = _G[itemButton:GetName() .. "Cooldown"]
|
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
|
if duration>0 and enable==0 then
|
||||||
SetItemButtonTextureVertexColor(itemButton, 0.4,0.4,0.4)
|
SetItemButtonTextureVertexColor(itemButton, 0.4,0.4,0.4)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user