diff --git a/api/api.lua b/api/api.lua index 98f42458..a7f4406a 100644 --- a/api/api.lua +++ b/api/api.lua @@ -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 }