mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 10:26:02 +00:00
api: fix real pixel backdrop offsets
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user