From 9dca641f3f8527710c36d6e2158d841407ad6fef Mon Sep 17 00:00:00 2001 From: Repooc Date: Tue, 18 Nov 2014 03:49:24 -0500 Subject: [PATCH] Azil added ExtraAction/Draenor Buttons to AddonSkins Signed-off-by: Repooc --- ElvUI_SLE/skins/blizzard/extraab.lua | 30 ---------------------------- ElvUI_SLE/skins/blizzard/load_blizzard.xml | 1 - 2 files changed, 31 deletions(-) delete mode 100644 ElvUI_SLE/skins/blizzard/extraab.lua 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 @@