Skip to content

Commit

Permalink
fix: avoid blizzard override the text style
Browse files Browse the repository at this point in the history
  • Loading branch information
fang2hou committed Aug 11, 2024
1 parent ac2d266 commit ac43901
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Modules/Quest/ObjectiveTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@ function OT:ObjectiveTrackerModule_Update(tracker)
if tracker and tracker.Header and tracker.Header.Text then
self:CosmeticBar(tracker.Header)
F.SetFontWithDB(tracker.Header.Text, self.db.header)
tracker.Header.Text:SetShadowColor(0, 0, 0, 0)
tracker.Header.Text.SetShadowColor = E.noop
tracker.Header.Text:SetFontObject(nil)
tracker.Header.Text.SetFontObject = E.noop
tracker.Header.Text:SetShadowOffset(1, -1)
tracker.Header.Text:SetShadowColor(0, 0, 0)

local r = self.db.header.classColor and W.ClassColor.r or self.db.header.color.r
local g = self.db.header.classColor and W.ClassColor.g or self.db.header.color.g
Expand Down

0 comments on commit ac43901

Please sign in to comment.