diff --git a/Modules/Hide.lua b/Modules/Hide.lua index 609e2da..b55e9f9 100644 --- a/Modules/Hide.lua +++ b/Modules/Hide.lua @@ -2,10 +2,20 @@ -- # MODULES > HIDE TEXT -------------------------------------------------------------------------------- -PlayerFrame:HookScript("OnEvent", function() +local hiddenFrame = CreateFrame('Frame') +hiddenFrame:Hide() + +PlayerFrame:HookScript('OnEvent', function() -- hide player damage and healing received text PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.HitIndicator.HitText:Hide() + -- hide combat glow on unit frames + PlayerFrame.PlayerFrameContainer.FrameFlash:SetParent(hiddenFrame) + TargetFrame.TargetFrameContainer.Flash:SetParent(hiddenFrame) + FocusFrame.TargetFrameContainer.Flash:SetParent(hiddenFrame) + PetFrameFlash:SetParent(hiddenFrame) + PetAttackModeTexture:SetParent(hiddenFrame) + -- hide reputation background TargetFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide() FocusFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()