Compare commits

..

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

View File

@ -2,22 +2,10 @@
-- # MODULES > HIDE TEXT
--------------------------------------------------------------------------------
local hiddenFrame = CreateFrame('Frame')
hiddenFrame:Hide()
PlayerFrame:HookScript('OnEvent', function()
-- hide rested breathing glow
PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.StatusTexture:SetParent(hiddenFrame)
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()