From 4fc9085d2af236882690f27286d43261a7127b7f Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 21 May 2020 19:25:37 +0200 Subject: [PATCH] nameplates: also set fontstyle for level text --- modules/gui.lua | 2 +- modules/nameplates.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui.lua b/modules/gui.lua index bbecdd2e..7a66386b 100644 --- a/modules/gui.lua +++ b/modules/gui.lua @@ -2049,7 +2049,7 @@ pfUI:RegisterModule("gui", "vanilla:tbc", function () CreateConfig(U["nameplates"], T["Enable Mouselook With Right Click"], C.nameplates, "rightclick", "checkbox", nil, nil, nil, nil, "vanilla") CreateConfig(U["nameplates"], T["Right Click Auto Attack Threshold"], C.nameplates, "clickthreshold", nil, nil, nil, nil, nil, "vanilla") CreateConfig(U["nameplates"], T["Use Unit Fonts"], C.nameplates, "use_unitfonts", "checkbox") - CreateConfig(U["nameplates"], T["Name Font Style"], C.nameplates.name, "fontstyle", "dropdown", pfUI.gui.dropdowns.fontstyle) + CreateConfig(U["nameplates"], T["Font Style"], C.nameplates.name, "fontstyle", "dropdown", pfUI.gui.dropdowns.fontstyle) CreateConfig(nil, T["Castbar"], nil, nil, "header") CreateConfig(U["nameplates"], T["Enable Castbars"], C.nameplates, "showcastbar", "checkbox") diff --git a/modules/nameplates.lua b/modules/nameplates.lua index aa3adedd..5a4834b5 100644 --- a/modules/nameplates.lua +++ b/modules/nameplates.lua @@ -361,7 +361,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function () nameplate.glow:SetHeight(C.nameplates.heighthealth + 30) nameplate.glow:SetVertexColor(glowr, glowg, glowb, glowa) - nameplate.level:SetFont(font, font_size, "OUTLINE") + nameplate.level:SetFont(font, font_size, font_style) nameplate.raidicon:SetWidth(C.nameplates.raidiconsize) nameplate.raidicon:SetHeight(C.nameplates.raidiconsize)