Commit e13a7248 authored by Simpy's avatar Simpy 🐹

actually don't rely on the TT.db to exist just use the db values; in case of 💥

parent 22fb8156
......@@ -21,9 +21,9 @@ function DT:Initialize()
TT:HookScript(self.tooltip, 'OnShow', 'SetStyle')
-- Ignore header font size on DatatextTooltip
local font = E.Libs.LSM:Fetch("font", TT.db.font)
local fontOutline = TT.db.fontOutline
local textSize = TT.db.textFontSize
local font = E.Libs.LSM:Fetch("font", E.db.tooltip.font)
local fontOutline = E.db.tooltip.fontOutline
local textSize = E.db.tooltip.textFontSize
_G.DatatextTooltipTextLeft1:FontTemplate(font, textSize, fontOutline)
_G.DatatextTooltipTextRight1:FontTemplate(font, textSize, fontOutline)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment