Skip to content

Commit

Permalink
object tracker: add config for line desh
Browse files Browse the repository at this point in the history
  • Loading branch information
EKE00372 authored Dec 13, 2018
1 parent 274f754 commit 51494d3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions ObjectiveTracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,17 @@ hooksecurefunc(ACHIEVEMENT_TRACKER_MODULE, "OnBlockHeaderLeave", hoverachieve)

hooksecurefunc(DEFAULT_OBJECTIVE_TRACKER_MODULE, "AddObjective", function(self, block, objectiveKey, _, lineType)
local line = self:GetLine(block, objectiveKey, lineType)
line.Text:SetFont(G.font, G.obfontSize-4, G.obfontFlag)
line.Text:SetFont(G.font, G.obfontSize-2, G.obfontFlag)
line.Text:SetShadowColor(0, 0, 0, 1)
line.Text:SetShadowOffset(0, 0)

if line.Dash and line.Dash:IsShown() then
line.Dash:SetFont(G.font, G.obfontSize-4, G.obfontFlag)
line.Dash:SetText("")
line.Dash:SetFont(G.font, G.obfontSize-2, G.obfontFlag)
if C.star then
line.Dash:SetText("")
else
line.Dash:SetText("-")
end
line.Dash:SetShadowColor(0, 0, 0, 1)
line.Dash:SetShadowOffset(0, 0)
end
Expand Down

0 comments on commit 51494d3

Please sign in to comment.