mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
update ace3 skin
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user