Quantcast

Azil added ExtraAction/Draenor Buttons to AddonSkins

Repooc [11-18-14 - 08:49]
Azil added ExtraAction/Draenor Buttons to AddonSkins

Signed-off-by: Repooc <repooc82@gmail.com>
Filename
ElvUI_SLE/skins/blizzard/extraab.lua
ElvUI_SLE/skins/blizzard/load_blizzard.xml
diff --git a/ElvUI_SLE/skins/blizzard/extraab.lua b/ElvUI_SLE/skins/blizzard/extraab.lua
deleted file mode 100644
index ff368fe..0000000
--- a/ElvUI_SLE/skins/blizzard/extraab.lua
+++ /dev/null
@@ -1,30 +0,0 @@
-local E, L, V, P, G = unpack(ElvUI);
-
-ExtraActionButton1.style:SetTexture(nil)
-ExtraActionButton1.style.SetTexture = function() end
-
---[[
-local function PositionHookUpdate()
-	-- hook the ExtraActionButton1 texture, idea by roth via WoWInterface forums
-	-- code taken from Tukui
-	local button = ExtraActionButton1
-	local icon = button.icon
-	local texture = button.style
-
-	local function disableTexture(style, texture)
-		if string.sub(texture,1,9) == "Interface" then
-			style:SetTexture("")
-		end
-	end
-	button.style:SetTexture("")
-	hooksecurefunc(texture, "SetTexture", disableTexture)
-end
-
-local frame = CreateFrame("Frame", nil, nil)
-frame:RegisterEvent("PLAYER_ENTERING_WORLD")
-frame:SetScript("OnEvent",function(self, event)
-	if event == "PLAYER_ENTERING_WORLD" then
-		PositionHookUpdate()
-		frame:UnregisterEvent("PLAYER_ENTERING_WORLD")
-	end
-end)]]
\ No newline at end of file
diff --git a/ElvUI_SLE/skins/blizzard/load_blizzard.xml b/ElvUI_SLE/skins/blizzard/load_blizzard.xml
index 1be1f97..a2c142e 100644
--- a/ElvUI_SLE/skins/blizzard/load_blizzard.xml
+++ b/ElvUI_SLE/skins/blizzard/load_blizzard.xml
@@ -1,5 +1,4 @@
 <Ui xmlns="http://www.blizzard.com/wow/ui/">
 	<Script file='character.lua'/>
-	<Script file='extraab.lua'/>
 	<Script file='petbattle.lua'/>
 </Ui>
\ No newline at end of file