mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 03:19:59 +00:00
unitframes: unify border values
This commit is contained in:
+4
-4
@@ -545,8 +545,8 @@ function pfUI.uf:RefreshUnit(unit, component)
|
||||
end
|
||||
|
||||
local default_border = pfUI_config.appearance.border.default
|
||||
if pfUI_config.appearance.border.groupframes ~= "-1" then
|
||||
default_border = pfUI_config.appearance.border.groupframes
|
||||
if pfUI_config.appearance.border.unitframes ~= "-1" then
|
||||
default_border = pfUI_config.appearance.border.unitframes
|
||||
end
|
||||
|
||||
local C = pfUI_config
|
||||
@@ -914,8 +914,8 @@ end
|
||||
function pfUI.uf.UpdateFrameSize(self)
|
||||
local unit = self.label .. self.id
|
||||
local default_border = pfUI_config.appearance.border.default
|
||||
if pfUI_config.appearance.border.groupframes ~= "-1" then
|
||||
default_border = pfUI_config.appearance.border.groupframes
|
||||
if pfUI_config.appearance.border.unitframes ~= "-1" then
|
||||
default_border = pfUI_config.appearance.border.unitframes
|
||||
end
|
||||
|
||||
local spacing = self.config.pspace
|
||||
|
||||
Reference in New Issue
Block a user