mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 09:56:03 +00:00
api: only use transp if lower than userconfig
This commit is contained in:
+1
-1
@@ -646,7 +646,7 @@ function pfUI.api.CreateBackdrop(f, inset, legacy, transp, backdropSetting)
|
||||
local br, bg, bb, ba = pfUI.api.GetStringColor(pfUI_config.appearance.border.background)
|
||||
local er, eg, eb, ea = pfUI.api.GetStringColor(pfUI_config.appearance.border.color)
|
||||
|
||||
if transp then ba = transp end
|
||||
if transp and transp < tonumber(ba) then ba = transp end
|
||||
|
||||
-- use legacy backdrop handling
|
||||
if legacy then
|
||||
|
||||
Reference in New Issue
Block a user