Compare commits

..

No commits in common. "f26a06e87382575ebbf6e5a5ad90601d50dd0144" and "ca6c750f6af8f9d78961fca3632e8c2d78dfb067" have entirely different histories.

View File

@ -2,22 +2,10 @@
-- # MODULES > HIDE TEXT -- # MODULES > HIDE TEXT
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
local hiddenFrame = CreateFrame('Frame') PlayerFrame:HookScript("OnEvent", function()
hiddenFrame:Hide()
PlayerFrame:HookScript('OnEvent', function()
-- hide rested breathing glow
PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.StatusTexture:SetParent(hiddenFrame)
-- hide player damage and healing received text -- hide player damage and healing received text
PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.HitIndicator.HitText:Hide() 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 -- hide reputation background
TargetFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide() TargetFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
FocusFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide() FocusFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()