mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +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
|
-- 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
|
||||||
|
|||||||
Reference in New Issue
Block a user