Commit cd5a7b29 authored by Azilroka's avatar Azilroka
Browse files

Cleanup BackdropTemplate

parent 3a41d11b
......@@ -382,7 +382,8 @@ function AS:SetTemplate(Frame, Template, Texture)
if AS:CheckOption('Theme') == 'ThickBorder' or AS:CheckOption('Theme') == 'TwoPixel' then
for _, Inset in pairs({ 'InsideBorder', 'OutsideBorder' }) do
Frame[Inset] = CreateFrame('Frame', nil, Frame, 'BackdropTemplate')
Frame[Inset] = CreateFrame('Frame', nil, Frame)
if not Frame[Inset].SetBackdrop then _G.Mixin(Frame[Inset], _G.BackdropTemplateMixin) end
Frame[Inset]:SetBackdrop({ edgeFile = AS.Blank, edgeSize = 1 })
Frame[Inset]:SetBackdropBorderColor(0, 0, 0, 1)
end
......
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