mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
Add option to always show equipment slot flyouts
The per-slot popout arrows previously appeared only while the equipment manager sidecar was open. Add a "Always Show Equipment Slot Flyouts" option under Character -> Inventory (character.inventory.equipflyout, off by default) that instead ties them to the paperdoll, so gear can be swapped without opening the equipment manager. Centralize the show/hide in a single UpdatePopouts(): by default the arrows follow the sidecar, with the option on they follow PaperDollFrame. Both the sidecar OnShow/OnHide and new PaperDollFrame OnShow/OnHide hooks route through it, and the flyout hides whenever the arrows go inactive.
This commit is contained in:
@@ -2412,6 +2412,7 @@ pfUI:RegisterModule("gui", function ()
|
||||
|
||||
CreateGUIEntry(T["Character"], T["Inventory"], function()
|
||||
CreateConfig(nil, T["Show Durability"], C.character.inventory, "durability", "checkbox")
|
||||
CreateConfig(nil, T["Always Show Equipment Slot Flyouts"], C.character.inventory, "equipflyout", "checkbox")
|
||||
end)
|
||||
|
||||
CreateGUIEntry(T["Character"], T["Reputation"], function()
|
||||
|
||||
Reference in New Issue
Block a user