mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 12:40:02 +00:00
nameplates: also set fontstyle for level text
This commit is contained in:
+1
-1
@@ -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")
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user