fonts: integrate upgrade paths

This commit is contained in:
shagu
2017-06-08 19:25:53 +02:00
parent 4a0528b248
commit bf35a4b982
11 changed files with 42 additions and 33 deletions
+3 -3
View File
@@ -461,7 +461,7 @@ pfUI:RegisterModule("actionbar", function ()
local hotkey = _G["ShapeshiftButton"..i..'HotKey']
hotkey:SetAllPoints(button)
hotkey:SetFont(pfUI.font_square, C.global.font_square_size -2, "OUTLINE")
hotkey:SetFont(pfUI.font_unit, C.global.font_unit_size -2, "OUTLINE")
hotkey:SetJustifyH("RIGHT")
hotkey:SetJustifyV("TOP")
end
@@ -520,7 +520,7 @@ pfUI:RegisterModule("actionbar", function ()
local hotkey = _G[actionbutton..i..'HotKey']
if C.bars.showkeybind == "1" then
hotkey:SetAllPoints(button)
hotkey:SetFont(pfUI.font_square, C.global.font_square_size -2, "OUTLINE")
hotkey:SetFont(pfUI.font_unit, C.global.font_unit_size -2, "OUTLINE")
hotkey:SetJustifyH("RIGHT")
hotkey:SetJustifyV("TOP")
else
@@ -530,7 +530,7 @@ pfUI:RegisterModule("actionbar", function ()
local name = _G[actionbutton..i..'Name']
if C.bars.showmacro == "1" then
name:SetAllPoints(button)
name:SetFont(pfUI.font_square, C.global.font_square_size -2, "OUTLINE")
name:SetFont(pfUI.font_unit, C.global.font_unit_size -2, "OUTLINE")
name:SetJustifyH("CENTER")
name:SetJustifyV("BOTTOM")
else