mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 06:00:00 +00:00
add possibility to exchange the default fonts
This commit is contained in:
+2
-2
@@ -60,7 +60,7 @@ pfUI:RegisterModule("skin", function ()
|
||||
b:SetBackdrop(pfUI.backdrop)
|
||||
b:SetBackdropBorderColor(1,1,1,1)
|
||||
end)
|
||||
b:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", pfUI_config.global.font_size, "OUTLINE")
|
||||
b:SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_default .. ".ttf", pfUI_config.global.font_size, "OUTLINE")
|
||||
end
|
||||
|
||||
for _, box in pairs(boxes) do
|
||||
@@ -73,7 +73,7 @@ pfUI:RegisterModule("skin", function ()
|
||||
if v.SetTextColor then
|
||||
v:SetTextColor(1,1,1,1)
|
||||
v:SetPoint("TOP", GameMenuFrame, "TOP", 0, 16)
|
||||
v:SetFont("Interface\\AddOns\\pfUI\\fonts\\arial.ttf", pfUI_config.global.font_size + 2, "OUTLINE")
|
||||
v:SetFont("Interface\\AddOns\\pfUI\\fonts\\" .. pfUI_config.global.font_default .. ".ttf", pfUI_config.global.font_size + 2, "OUTLINE")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user