From 2be45a28975c6e190c9271fb18ac0c593db50940 Mon Sep 17 00:00:00 2001 From: Britt Yazel Date: Fri, 16 Oct 2020 16:52:13 -0700 Subject: [PATCH] fixes #368 --- Neuron-DisableBlizzardUI.lua | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) 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