Commit c8e37e6e authored by Benik's avatar Benik

RaidUtility shadows

parent d84980b5
......@@ -534,6 +534,18 @@ local function skinStoryline()
_G["Storyline_NPCFrameChat"]:CreateBackdrop('Transparent')
end
local function raidUtilityShadows()
if E.db.benikui.general.shadows ~= true then return end
if _G["RaidUtility_ShowButton"] then
_G["RaidUtility_ShowButton"]:CreateSoftShadow()
end
if _G["RaidUtilityPanel"] then
_G["RaidUtilityPanel"]:CreateSoftShadow()
end
end
local function StyleDBM_Options()
if not E.db.benikuiSkins.addonSkins.dbm then return end
......@@ -553,8 +565,6 @@ function BUIS:PLAYER_ENTERING_WORLD(...)
styleFreeBlizzardFrames()
styleAddons()
styleGarrison()
skinDecursive()
skinStoryline()
local reason = select(5, GetAddOnInfo("GarrisonCommander"))
if reason == "DISABLED" or reason == "MISSING" then
......@@ -568,6 +578,11 @@ end
function BUIS:Initialize()
if E.db.benikui.general.benikuiStyle ~= true then return end
raidUtilityShadows()
skinDecursive()
skinStoryline()
self:RegisterEvent("PLAYER_ENTERING_WORLD")
self:RegisterEvent("ADDON_LOADED", "LoD_AddOns")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment