Skip to content

Commit

Permalink
tracker: add fallback to tracker default font size
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed Nov 26, 2024
1 parent 5a0073a commit 133a694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tracker:SetClampedToScreen(true)
tracker:RegisterEvent("PLAYER_ENTERING_WORLD")
tracker:SetScript("OnEvent", function()
-- update font sizes according to config
fontsize = tonumber(pfQuest_config["trackerfontsize"])
fontsize = tonumber(pfQuest_config["trackerfontsize"]) or 12
entryheight = ceil(fontsize*1.6)

-- restore tracker state
Expand Down

0 comments on commit 133a694

Please sign in to comment.