mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-20 11:30:48 +00:00
unitframes: unify border values
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@ pfUI:RegisterModule("group", function ()
|
||||
if C.unitframes.disable == "1" then return end
|
||||
|
||||
local default_border = C.appearance.border.default
|
||||
if C.appearance.border.groupframes ~= "-1" then
|
||||
default_border = C.appearance.border.groupframes
|
||||
if C.appearance.border.unitframes ~= "-1" then
|
||||
default_border = C.appearance.border.unitframes
|
||||
end
|
||||
|
||||
local spacing = C.unitframes.group.pspace
|
||||
|
||||
@@ -850,8 +850,6 @@ pfUI:RegisterModule("gui", function ()
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Global Border Size", C.appearance.border, "default")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Action Bar Border Size", C.appearance.border, "actionbars")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Unit Frame Border Size", C.appearance.border, "unitframes")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Group Frame Border Size", C.appearance.border, "groupframes")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Raid Frame Border Size", C.appearance.border, "raidframes")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Panel Border Size", C.appearance.border, "panels")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Chat Border Size", C.appearance.border, "chat")
|
||||
pfUI.gui:CreateConfig(pfUI.gui.appearance, "Bags Border Size", C.appearance.border, "bags")
|
||||
|
||||
+2
-2
@@ -3,8 +3,8 @@ pfUI:RegisterModule("raid", function ()
|
||||
if C.unitframes.disable == "1" then return end
|
||||
|
||||
local default_border = C.appearance.border.default
|
||||
if C.appearance.border.raidframes ~= "-1" then
|
||||
default_border = C.appearance.border.raidframes
|
||||
if C.appearance.border.unitframes ~= "-1" then
|
||||
default_border = C.appearance.border.unitframes
|
||||
end
|
||||
|
||||
pfUI.uf.raid = CreateFrame("Button","pfRaid",UIParent)
|
||||
|
||||
Reference in New Issue
Block a user