refactoring complete

This commit is contained in:
Manuel Simon Hirsig
2015-09-27 01:30:17 +02:00
parent a16484817e
commit 60a4f1bf61
13 changed files with 252 additions and 331 deletions
+1 -6
View File
@@ -98,12 +98,7 @@ function stack_size(slot)
end
function item_charges(slot)
Aux_Scan_ClearTooltip()
AuxScanTooltip:SetOwner(UIParent, "ANCHOR_NONE")
AuxScanTooltip:SetBagItem(slot.bag, slot.bag_slot)
AuxScanTooltip:Show()
local tooltip = Aux_Scan_ExtractTooltip()
return Aux_Scan_ItemCharges(tooltip)
return Aux.info.container_item(slot.bag, slot.bag_slot).charges
end
function Aux.stack.onupdate()