Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
fixes #368
Browse files Browse the repository at this point in the history
  • Loading branch information
brittyazel committed Oct 16, 2020
1 parent 533b79f commit 2be45a2
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions Neuron-DisableBlizzardUI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,24 +91,7 @@ function Neuron:HideBlizzardUI()


--this is the equivalent of dropping a sledgehammer on the taint issue. It protects from taint and saves CPU cycles though so....
--[[if not Neuron:IsHooked('ActionButton_OnEvent') then
Neuron:RawHook('ActionButton_OnEvent', function() end, true)
end
if not Neuron:IsHooked('ActionButton_Update') then
Neuron:RawHook('ActionButton_Update', function() end, true)
end
if not Neuron:IsHooked('ActionButton_HideGrid') then
Neuron:RawHook('ActionButton_HideGrid', function() end, true)
end
if not Neuron:IsHooked('ActionButton_ShowGrid') then
Neuron:RawHook('ActionButton_ShowGrid', function() end, true)
end
]]

--[[if not Neuron:IsHooked('MultiActionBar_Update') then
if not Neuron:IsHooked('MultiActionBar_Update') then
Neuron:RawHook('MultiActionBar_Update', function() end, true)
end

Expand All @@ -120,12 +103,11 @@ function Neuron:HideBlizzardUI()

if not Neuron:IsHooked('PetActionBar_Update') then
Neuron:RawHook('PetActionBar_Update', function() end, true)
end]]
end

end



function Neuron:ToggleBlizzUI()

local DB = Neuron.db.profile
Expand Down

0 comments on commit 2be45a2

Please sign in to comment.