mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
api: use default border size in case of inherit
This commit is contained in:
@@ -802,6 +802,8 @@ function pfUI.api.GetBorderSize(pref)
|
||||
else
|
||||
-- add new borders to the pfUI tree
|
||||
local raw = tonumber(pfUI_config.appearance.border[pref])
|
||||
if raw == -1 then raw = 3 end
|
||||
|
||||
local scaled = raw * GetPerfectPixel()
|
||||
pfUI.borders = { raw, scaled }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user