make fontsize configurable

This commit is contained in:
shagu
2016-08-04 18:36:35 +02:00
parent 199ece3bb3
commit 4d436292d0
16 changed files with 61 additions and 58 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ pfUI:RegisterModule("cooldown", function ()
this.cd.back:SetAllPoints(this.cd)
this.cd.text = this.cd:CreateFontString("Status", "HIGH", "GameFontNormal")
this.cd.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\homespun.ttf", 10, "OUTLINE")
this.cd.text:SetFont("Interface\\AddOns\\pfUI\\fonts\\homespun.ttf", pfUI_config.global.font_size, "OUTLINE")
this.cd.text:ClearAllPoints()
this.cd.text:SetParent(this.cd)
this.cd.text:SetAllPoints(this.cd)