mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
api: use same shadow conditions as for backdrop
This commit is contained in:
@@ -866,6 +866,9 @@ end
|
||||
-- Creates a pfUI compatible frame as shadow element
|
||||
-- 'f' [frame] the frame which should get a backdrop.
|
||||
function pfUI.api.CreateBackdropShadow(f)
|
||||
-- exit if now frame was given
|
||||
if not f then return end
|
||||
|
||||
if f.backdrop_shadow or pfUI_config.appearance.border.shadow ~= "1" then
|
||||
return
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user