diff --git a/api/api.lua b/api/api.lua index a7f4406a..93fe1018 100644 --- a/api/api.lua +++ b/api/api.lua @@ -863,8 +863,8 @@ function pfUI.api.CreateBackdrop(f, inset, legacy, transp, backdropSetting) -- load custom border if existing if inset then - rawborder = inset - border = inset * GetPerfectPixel() + rawborder = inset / GetPerfectPixel() + border = inset end -- get the color settings