Commit 0f6ebd76 authored by Tukz's avatar Tukz

Some taint fixes.

parent 77dec6aa
......@@ -20,7 +20,6 @@ function TukuiActionBars:CreatePetBar()
PetActionBarFrame:UnregisterEvent("PET_BAR_SHOWGRID")
PetActionBarFrame:UnregisterEvent("PET_BAR_HIDEGRID")
PetActionBarFrame.showgrid = 1
for i = 1, NUM_PET_ACTION_SLOTS do
local Button = _G["PetActionButton"..i]
......
......@@ -22,11 +22,7 @@ local Frames = {
function TukuiActionBars:DisableBlizzard()
local Hider = Panels.Hider
MainMenuBarArtFrame.RightEndCap.GetRight = function() return 0 end
MainMenuBarMixin.ChangeMenuBarSizeAndPosition = function() return end
MinimapCluster.GetBottom = function() return 999999999 end
SetCVar("alwaysShowActionBars", 1)
if (not C.ActionBars.AddNewSpells) then
......@@ -59,10 +55,6 @@ function TukuiActionBars:DisableBlizzard()
end
end)
MainMenuBar.slideOut.IsPlaying = function()
return true
end
if T.WoWBuild < 28724 then
-- Avoid Hiding Buttons on open/close spellbook
MultiActionBar_HideAllGrids = function() end
......
......@@ -126,6 +126,7 @@ function TukuiActionBars:SkinPetAndShiftButton(Normal, Button, Icon, Name, Pet)
local HotKey = _G[Button:GetName().."HotKey"]
local Flash = _G[Name.."Flash"]
local Font = T.GetFont(C["ActionBars"].Font)
local NormalTex = _G[Button:GetName().."NormalTexture2"]
Button:SetWidth(PetSize)
Button:SetHeight(PetSize)
......@@ -141,7 +142,7 @@ function TukuiActionBars:SkinPetAndShiftButton(Normal, Button, Icon, Name, Pet)
HotKey:Point("TOPRIGHT", 0, -3)
else
HotKey:SetText("")
HotKey:Kill()
HotKey:SetAlpha(0)
end
Icon:SetTexCoord(unpack(T.IconCoord))
......@@ -161,8 +162,7 @@ function TukuiActionBars:SkinPetAndShiftButton(Normal, Button, Icon, Name, Pet)
self.UpdateHotKey(Button)
end
Button:SetNormalTexture("")
Button.SetNormalTexture = Noop
NormalTex:SetAlpha(0)
Flash:SetTexture("")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment