mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 22:20:00 +00:00
unusable: remove broken module
This module was not ready to be pulled into master. Sorry for the inconveniences. After the initial fixes I made, there are still some points open: * dead code for merchant window (no difference to stock ui) * dead code for mail window (no difference to stock ui) * bugs out when receiving mails (quickfix broke recipes)
This commit is contained in:
@@ -136,9 +136,6 @@ pfUI:RegisterModule("bags", function ()
|
||||
if pfUI.bags[bag].slots[slot].frame:IsShown() then
|
||||
local _, _, locked, _ = GetContainerItemInfo(bag, slot)
|
||||
SetItemButtonDesaturated(pfUI.bags[bag].slots[slot].frame, locked, 0.5, 0.5, 0.5)
|
||||
if pfUI.unusable then
|
||||
pfUI.unusable:UpdateSlot(pfUI.bags[bag].slots[slot], bag, slot)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -425,10 +422,6 @@ pfUI:RegisterModule("bags", function ()
|
||||
end
|
||||
|
||||
pfUI.bags[bag].slots[slot].frame:Show()
|
||||
|
||||
if pfUI.unusable then
|
||||
pfUI.unusable:UpdateSlot(pfUI.bags[bag].slots[slot], bag, slot)
|
||||
end
|
||||
end
|
||||
|
||||
function pfUI.bag:CreateBagSlots(frame)
|
||||
|
||||
Reference in New Issue
Block a user