api: allow custom transparency

This commit is contained in:
shagu
2017-01-23 17:08:37 +01:00
parent 3a51b93d04
commit d8c8ee487b
7 changed files with 14 additions and 14 deletions
Vendored
+1 -1
View File
@@ -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