mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
woops
This commit is contained in:
@@ -716,14 +716,15 @@ function B:UpdateAll()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function B:OnEvent()
|
function B:OnEvent()
|
||||||
local bag, slot = arg1, arg2
|
|
||||||
if event == "ITEM_LOCK_CHANGED" or event == "ITEM_UNLOCKED" then
|
if event == "ITEM_LOCK_CHANGED" or event == "ITEM_UNLOCKED" then
|
||||||
|
local bag, slot = arg1, arg2
|
||||||
if bag == KEYRING_CONTAINER then
|
if bag == KEYRING_CONTAINER then
|
||||||
B:UpdateKeySlot(slot)
|
B:UpdateKeySlot(slot)
|
||||||
else
|
else
|
||||||
this:UpdateSlot(bag, slot)
|
this:UpdateSlot(bag, slot)
|
||||||
end
|
end
|
||||||
elseif event == "BAG_UPDATE" then
|
elseif event == "BAG_UPDATE" then
|
||||||
|
local bag = arg1
|
||||||
if bag == KEYRING_CONTAINER then
|
if bag == KEYRING_CONTAINER then
|
||||||
if not _G["ElvUIKeyFrameItem"..GetKeyRingSize()] then
|
if not _G["ElvUIKeyFrameItem"..GetKeyRingSize()] then
|
||||||
B:Layout(false)
|
B:Layout(false)
|
||||||
|
|||||||
Reference in New Issue
Block a user