mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 14:10:01 +00:00
Add spell name & timer text alignment options for unit frame castbars
Adds per-unit (player/target/focus) dropdowns to align the castbar spell name (left text) and cast timer (right text) Left/Center/Right. Both share a castbaralign dropdown; defaults preserve current behavior (name LEFT, timer RIGHT). Applied at castbar creation, so takes effect on /reload like the other castbar options.
This commit is contained in:
@@ -717,6 +717,8 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("castbar", "player", "mergetradeskill", "1")
|
||||
pfUI:UpdateConfig("castbar", "player", "txtrightoffx", "0")
|
||||
pfUI:UpdateConfig("castbar", "player", "txtrightoffy", "0")
|
||||
pfUI:UpdateConfig("castbar", "player", "namealign", "LEFT")
|
||||
pfUI:UpdateConfig("castbar", "player", "timealign", "RIGHT")
|
||||
pfUI:UpdateConfig("castbar", "target", "hide_pfui", "0")
|
||||
pfUI:UpdateConfig("castbar", "target", "width", "-1")
|
||||
pfUI:UpdateConfig("castbar", "target", "height", "-1")
|
||||
@@ -729,6 +731,8 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("castbar", "target", "showrank", "0")
|
||||
pfUI:UpdateConfig("castbar", "target", "txtrightoffx", "0")
|
||||
pfUI:UpdateConfig("castbar", "target", "txtrightoffy", "0")
|
||||
pfUI:UpdateConfig("castbar", "target", "namealign", "LEFT")
|
||||
pfUI:UpdateConfig("castbar", "target", "timealign", "RIGHT")
|
||||
pfUI:UpdateConfig("castbar", "focus", "hide_pfui", "0")
|
||||
pfUI:UpdateConfig("castbar", "focus", "width", "-1")
|
||||
pfUI:UpdateConfig("castbar", "focus", "height", "-1")
|
||||
@@ -741,6 +745,8 @@ function pfUI:LoadConfig()
|
||||
pfUI:UpdateConfig("castbar", "focus", "showrank", "0")
|
||||
pfUI:UpdateConfig("castbar", "focus", "txtrightoffx", "0")
|
||||
pfUI:UpdateConfig("castbar", "focus", "txtrightoffy", "0")
|
||||
pfUI:UpdateConfig("castbar", "focus", "namealign", "LEFT")
|
||||
pfUI:UpdateConfig("castbar", "focus", "timealign", "RIGHT")
|
||||
pfUI:UpdateConfig("castbar", nil, "use_unitfonts", "0")
|
||||
|
||||
pfUI:UpdateConfig("tooltip", nil, "position", "chat")
|
||||
|
||||
Reference in New Issue
Block a user