Quantcast

CreateFontString arguments in wrong order, CF#212

Ludovicus [07-19-19 - 20:29]
CreateFontString arguments in wrong order, CF#212
Filename
TomTom_CrazyArrow.lua
diff --git a/TomTom_CrazyArrow.lua b/TomTom_CrazyArrow.lua
index d33040b..2baf041 100755
--- a/TomTom_CrazyArrow.lua
+++ b/TomTom_CrazyArrow.lua
@@ -48,9 +48,9 @@ wayframe:Hide()
 -- Frame used to control the scaling of the title and friends
 local titleframe = CreateFrame("Frame", nil, wayframe)

-wayframe.title = titleframe:CreateFontString("OVERLAY", nil, "GameFontHighlightSmall")
-wayframe.status = titleframe:CreateFontString("OVERLAY", nil, "GameFontNormalSmall")
-wayframe.tta = titleframe:CreateFontString("OVERLAY", nil, "GameFontNormalSmall")
+wayframe.title = titleframe:CreateFontString(nil, "OVERLAY", "GameFontHighlightSmall")
+wayframe.status = titleframe:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall")
+wayframe.tta = titleframe:CreateFontString(nil, "OVERLAY", "GameFontNormalSmall")
 wayframe.title:SetPoint("TOP", wayframe, "BOTTOM", 0, 0)
 wayframe.status:SetPoint("TOP", wayframe.title, "BOTTOM", 0, 0)
 wayframe.tta:SetPoint("TOP", wayframe.status, "BOTTOM", 0, 0)