mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
performance update
This commit is contained in:
+3
-3
@@ -1,4 +1,4 @@
|
||||
pfUI:RegisterModule("bags", "vanilla:tbc", function ()
|
||||
pfUI:RegisterModule("bags", "vanilla", function ()
|
||||
local rawborder, default_border = GetBorderSize("bags")
|
||||
|
||||
local knownInventorySpellTextures = {
|
||||
@@ -573,8 +573,8 @@ pfUI:RegisterModule("bags", "vanilla:tbc", function ()
|
||||
SlotLeave()
|
||||
end)
|
||||
|
||||
-- On TBC, the OnEvent function of the template scans for framenames,
|
||||
-- and obviously doesn't know the pf-Names. Therefore, triggering
|
||||
-- The OnEvent function of the template scans for framenames,
|
||||
-- and doesn't know the pf-Names. Therefore, triggering
|
||||
-- the update function on each frame manually
|
||||
if frame == pfUI.bag.left and BankFrameItemButton_Update then
|
||||
local SlotUpdate = frame.bagslots.slots[slot].frame:GetScript("OnUpdate")
|
||||
|
||||
Reference in New Issue
Block a user