mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-24 04:50:49 +00:00
Flow unit frame auras: debuffs first on enemies, own size, spacing
Unit frame aura icons are placed by a layout pass after each aura refresh instead of a fixed grid set at setup. Rows are as tall as their largest icon, and the debuff block no longer uses the debuff size to step past buff rows. (Closes #25) - When buffs and debuffs share a corner, debuffs come first on neutral and hostile units. - New Own Buff Size / Own Debuff Size (-1 = normal size) enlarge the player's auras, which C_UnitAuras already lists first. - New Buff/Debuff X-Spacing and Y-Spacing set the gaps between icons and rows; the default of 1 keeps the old look. - The selfdebuff tooltip remap is gone from unit frames and buffwatch: own auras lead the list, so the HARMFUL|PLAYER index is the HARMFUL index.
This commit is contained in:
@@ -2348,12 +2348,18 @@ pfUI:RegisterModule("gui", function ()
|
||||
CreateConfig(U[c], T["Buff Size"], C.unitframes[c], "buffsize")
|
||||
CreateConfig(U[c], T["Buff Limit"], C.unitframes[c], "bufflimit")
|
||||
CreateConfig(U[c], T["Buffs Per Row"], C.unitframes[c], "buffperrow")
|
||||
CreateConfig(U[c], T["Own Buff Size"], C.unitframes[c], "ownbuffsize")
|
||||
CreateConfig(U[c], T["Buff X-Spacing"], C.unitframes[c], "buffspacingx")
|
||||
CreateConfig(U[c], T["Buff Y-Spacing"], C.unitframes[c], "buffspacingy")
|
||||
|
||||
CreateConfig(U[c], T["Debuffs"], nil, nil, "header")
|
||||
CreateConfig(U[c], T["Debuff Position"], C.unitframes[c], "debuffs", "dropdown", pfUI.gui.dropdowns.uf_buff_position)
|
||||
CreateConfig(U[c], T["Debuff Size"], C.unitframes[c], "debuffsize")
|
||||
CreateConfig(U[c], T["Debuff Limit"], C.unitframes[c], "debufflimit")
|
||||
CreateConfig(U[c], T["Debuffs Per Row"], C.unitframes[c], "debuffperrow")
|
||||
CreateConfig(U[c], T["Own Debuff Size"], C.unitframes[c], "owndebuffsize")
|
||||
CreateConfig(U[c], T["Debuff X-Spacing"], C.unitframes[c], "debuffspacingx")
|
||||
CreateConfig(U[c], T["Debuff Y-Spacing"], C.unitframes[c], "debuffspacingy")
|
||||
|
||||
if c ~= "player" then
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user