health-numbers: disable tbc target font string

This commit is contained in:
shagu
2021-10-07 00:36:33 +02:00
parent b9a4646202
commit 0a33d8cff6
+7
View File
@@ -1,6 +1,8 @@
local _G = _G or getfenv(0)
local Abbreviate = ShaguTweaks.Abbreviate
local GetColorGradient = ShaguTweaks.GetColorGradient
local vanilla = ShaguTweaks.GetExpansion() == "vanilla" or nil
local module = ShaguTweaks:register({
title = "Real Health Numbers",
description = "Estimates health numbers, and shows numbers on player, pet and target unit frames.",
@@ -54,6 +56,11 @@ module.enable = function(self)
local string = sb.TextString
if string and sb.unit then
-- hide tbc text string element
if not vanilla then
TargetFrameHealthBarText:Hide()
end
sb.lockShow = 42
sb:Show()