Commit 3e1b8626 authored by Heather's avatar Heather

Update API.lua

parent 9d7a84d6
......@@ -56,6 +56,10 @@ function AS:SetTemplate(Frame, Template, UseTexture, TextureFile)
ElvUI[1]["frames"][Frame] = true
end
if AS:CheckAddOn('ElvUI_MerathilisUI') and AS:CheckOption("MerathilisUIStyling") then
Frame:Styling();
end
Frame:SetBackdropBorderColor(unpack(AS.BorderColor))
Frame:SetBackdropColor(R, G, B, Alpha)
end
......@@ -513,7 +517,9 @@ function AS:SkinNextPrevButton(Button, Vertical, Inverse)
local ButtonName = Button:GetName() and Button:GetName():lower()
Inverse = Inverse or ButtonName and (strfind(ButtonName, 'left') or strfind(ButtonName, 'prev') or strfind(ButtonName, 'decrement') or strfind(ButtonName, 'back'))
AS:StripTextures(Button)
AS:SkinButton(Button)
Button:SetSize(Button:GetWidth() - 7, Button:GetHeight() - 7)
if not Button.icon then
......@@ -935,4 +941,4 @@ function AS:FindFrameByPoint(point1, relativeTo, point2, x, y, multipleFrames)
end
return frame
end
\ No newline at end of file
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