Compare commits

..

2 Commits

Author SHA1 Message Date
f26a06e873 Add hide rested breathing glow animation 2024-03-09 01:15:38 -05:00
ec60bbc390 Add hide combat glow on unit frames 2024-03-09 01:14:56 -05:00

View File

@ -2,10 +2,22 @@
-- # MODULES > HIDE TEXT -- # MODULES > HIDE TEXT
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
PlayerFrame:HookScript("OnEvent", function() local hiddenFrame = CreateFrame('Frame')
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()