api: fix real pixel backdrop offsets

This commit is contained in:
shagu
2020-03-05 22:52:56 +01:00
parent 43d3ab85e1
commit eb42c831fc
+2 -2
View File
@@ -863,8 +863,8 @@ function pfUI.api.CreateBackdrop(f, inset, legacy, transp, backdropSetting)
-- load custom border if existing -- load custom border if existing
if inset then if inset then
rawborder = inset rawborder = inset / GetPerfectPixel()
border = inset * GetPerfectPixel() border = inset
end end
-- get the color settings -- get the color settings