Skip to content

Commit

Permalink
Update font to STANDARD_TEXT_FONT ( closes #64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Justw8 committed Oct 28, 2024
1 parent bb7ee3c commit 9874303
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions TeleportMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ function tpm:CreateFlyout(flyoutData)

if db.buttonText == true and flyoutData.name then
button.text = button:CreateFontString(nil, "OVERLAY")
button.text:SetFont("Fonts\\FRIZQT__.TTF", 13, "OUTLINE")
button.text:SetFont(STANDARD_TEXT_FONT, 13, "OUTLINE")
button.text:SetPoint("BOTTOM", button, "BOTTOM", 0, 5)
button.text:SetText(flyoutData.name)
button.text:SetTextColor(1, 1, 1, 1)
Expand Down Expand Up @@ -538,7 +538,7 @@ function tpm:CreateFlyout(flyoutData)
local flyOutButton = createFlyOutButton(spellID, flyoutsCreated, totalKnownSpells)
if db.buttonText == true and flyname then
flyOutButton.text = flyOutButton:CreateFontString(nil, "OVERLAY")
flyOutButton.text:SetFont("Fonts\\FRIZQT__.TTF", 13, "OUTLINE")
flyOutButton.text:SetFont(STANDARD_TEXT_FONT, 13, "OUTLINE")
flyOutButton.text:SetPoint("BOTTOM", flyOutButton, "BOTTOM", 0, 5)
flyOutButton.text:SetText(flyname)
flyOutButton.text:SetTextColor(1, 1, 1, 1)
Expand Down Expand Up @@ -607,7 +607,7 @@ function tpm:CreateSeasonalTeleportFlyout()

if db.buttonText == true then
button.text = button:CreateFontString(nil, "OVERLAY")
button.text:SetFont("Fonts\\FRIZQT__.TTF", 13, "OUTLINE")
button.text:SetFont(STANDARD_TEXT_FONT, 13, "OUTLINE")
button.text:SetPoint("BOTTOM", button, "BOTTOM", 0, 5)
button.text:SetText(L["Season 1"])
button.text:SetTextColor(1, 1, 1, 1)
Expand Down Expand Up @@ -679,7 +679,7 @@ function tpm:CreateSeasonalTeleportFlyout()

if db.buttonText == true and flyname then
flyOutButton.text = flyOutButton:CreateFontString(nil, "OVERLAY")
flyOutButton.text:SetFont("Fonts\\FRIZQT__.TTF", 13, "OUTLINE")
flyOutButton.text:SetFont(STANDARD_TEXT_FONT, 13, "OUTLINE")
flyOutButton.text:SetPoint("BOTTOM", flyOutButton, "BOTTOM", 0, 5)
flyOutButton.text:SetText(flyname)
flyOutButton.text:SetTextColor(1, 1, 1, 1)
Expand Down

0 comments on commit 9874303

Please sign in to comment.