mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
api: allow custom transparency
This commit is contained in:
Vendored
+1
-1
@@ -137,7 +137,7 @@ function pfUI.api:CreateBackdrop(f, inset, legacy, transp)
|
||||
|
||||
local br, bg, bb, ba = pfUI.cache.br, pfUI.cache.bg, pfUI.cache.bb, pfUI.cache.ba
|
||||
local er, eg, eb, ea = pfUI.cache.er, pfUI.cache.eg, pfUI.cache.eb, pfUI.cache.ea
|
||||
if transp then ba = .8 end
|
||||
if transp then ba = transp end
|
||||
|
||||
-- use legacy backdrop handling
|
||||
if legacy then
|
||||
|
||||
Reference in New Issue
Block a user