Ace gui tab and mover

This commit is contained in:
Bunny67
2017-12-20 00:14:56 +03:00
parent 988172ba00
commit 3945024d6c
9 changed files with 63 additions and 85 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ local ToggleDropDownMenu = ToggleDropDownMenu
local Minimap_OnClick = Minimap_OnClick
local GetMinimapZoneText = GetMinimapZoneText
local menuFrame = CreateFrame("Frame", "MinimapRightClickMenu", E.UIParent, "UIDropDownMenuTemplate")
local menuFrame = CreateFrame("Frame", "MinimapRightClickMenu", E.UIParent, "L_UIDropDownMenuTemplate")
local menuList = {
{text = "CHARACTER_BUTTON",
func = function() ToggleCharacter("PaperDollFrame") end},
@@ -321,7 +321,7 @@ function S:SkinAce3()
if TYPE == "ScrollFrame" then
local frame = widget.scrollbar
SkinScrollBar(frame)
elseif TYPE == "InlineGroup" or TYPE == "TreeGroup" or TYPE == "TabGroup" or TYPE == "Frame" or TYPE == "DropdownGroup" or TYPE == "Window" then
elseif TYPE == "InlineGroup" or TYPE == "TreeGroup" or TYPE == "TabGroup-ElvUI" or TYPE == "Frame" or TYPE == "DropdownGroup" or TYPE == "Window" then
local frame = widget.content:GetParent()
if TYPE == "Frame" then
E:StripTextures(frame)
@@ -379,7 +379,7 @@ function S:SkinAce3()
end
end
if TYPE == "TabGroup" then
if TYPE == "TabGroup-ElvUI" then
local oldCreateTab = widget.CreateTab
widget.CreateTab = function(self, id)
local tab = oldCreateTab(self, id)