/trunk
##Subfile : core.lua |
##Author : Hati-EK |
--]] |
local SplitItemsOnTheFly = { } |
SplitItemsOnTheFly = { } |
local SI = SplitItemsOnTheFly |
SI.name = 'SplitItemsOnTheFly' |
SI.ver = GetAddOnMetadata( SI.name, 'Version') |
end |
self.text:SetText(c) |
else |
if MerchantFrame:IsShown() then |
SI.handler:UnregisterEvent('CURSOR_UPDATE') |
end |
if not i then |
c=arg1%SI.count |
else |
end |
self.text:SetText(c) |
end |
if MerchantFrame:IsShown() then |
SI.handler:RegisterEvent('CURSOR_UPDATE') |
end |
end |
end) |
SI.Cursor:EnableMouseWheel(0) |
SI.buyIndex=nil |
SI.throttle=false |
else --so maybe it's called from item split (in bags) |
events:ITEM_LOCK_CHANGED(SI.bagID,SI.bagSlot) |
end |
end |
end |