diff --git a/Neuron-DisableBlizzardUI.lua b/Neuron-DisableBlizzardUI.lua index 35592b1f..434af89b 100644 --- a/Neuron-DisableBlizzardUI.lua +++ b/Neuron-DisableBlizzardUI.lua @@ -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 @@ -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