2024-03-03 02:17:02 +00:00
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
-- # MODULES > HIDE TEXT
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
2024-03-09 05:42:14 +00:00
|
|
|
local hiddenFrame = CreateFrame('Frame')
|
|
|
|
hiddenFrame:Hide()
|
|
|
|
|
|
|
|
PlayerFrame:HookScript('OnEvent', function()
|
2024-03-03 02:20:36 +00:00
|
|
|
-- hide player damage and healing received text
|
2024-03-03 02:17:02 +00:00
|
|
|
PlayerFrame.PlayerFrameContent.PlayerFrameContentMain.HitIndicator.HitText:Hide()
|
2024-03-09 05:27:05 +00:00
|
|
|
|
2024-03-09 05:42:14 +00:00
|
|
|
-- 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)
|
|
|
|
|
2024-03-09 05:27:05 +00:00
|
|
|
-- hide reputation background
|
|
|
|
TargetFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
|
|
|
|
FocusFrame.TargetFrameContent.TargetFrameContentMain.ReputationColor:Hide()
|
2024-03-03 02:17:02 +00:00
|
|
|
end)
|