update ace3 skin

This commit is contained in:
Bunny67
2018-07-22 07:29:33 +03:00
parent 5dacae8de0
commit c3fa66a47d
+4 -4
View File
@@ -311,7 +311,7 @@ function S:SkinAce3()
if TYPE == "ScrollFrame" then if TYPE == "ScrollFrame" then
local frame = widget.scrollbar local frame = widget.scrollbar
SkinScrollBar(frame) SkinScrollBar(frame)
elseif TYPE == "InlineGroup" or TYPE == "TreeGroup" or TYPE == "TabGroup-ElvUI" or TYPE == "Frame" or TYPE == "DropdownGroup" or TYPE == "Window" then elseif TYPE == "InlineGroup" or TYPE == "TreeGroup" or TYPE == "TabGroup" or TYPE == "Frame" or TYPE == "DropdownGroup" or TYPE == "Window" then
local frame = widget.content:GetParent() local frame = widget.content:GetParent()
if TYPE == "Frame" then if TYPE == "Frame" then
E:StripTextures(frame) E:StripTextures(frame)
@@ -378,16 +378,16 @@ function S:SkinAce3()
end end
end end
if TYPE == "TabGroup-ElvUI" then if TYPE == "TabGroup" then
local oldCreateTab = widget.CreateTab local oldCreateTab = widget.CreateTab
widget.CreateTab = function(self, id) widget.CreateTab = function(self, id)
local tab = oldCreateTab(self, id) local tab = oldCreateTab(self, id)
E:StripTextures(tab) E:StripTextures(tab)
tab.backdrop = CreateFrame("Frame", nil, tab) --[[tab.backdrop = CreateFrame("Frame", nil, tab)
E:SetTemplate(tab.backdrop, "Transparent") E:SetTemplate(tab.backdrop, "Transparent")
tab.backdrop:SetFrameLevel(tab:GetFrameLevel() - 1) tab.backdrop:SetFrameLevel(tab:GetFrameLevel() - 1)
E:Point(tab.backdrop, "TOPLEFT", 10, -3) E:Point(tab.backdrop, "TOPLEFT", 10, -3)
E:Point(tab.backdrop, "BOTTOMRIGHT", -10, 0) E:Point(tab.backdrop, "BOTTOMRIGHT", -10, 0)]]
return tab return tab
end end
end end