core: use media mechanism for configurable paths

This commit is contained in:
shagu
2019-06-10 13:35:48 +02:00
parent d075751632
commit c939f8b322
7 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pfUI:RegisterModule("screenshot", function ()
pfUI.screenshot.caption:SetWidth(400)
pfUI.screenshot.caption:SetHeight(200)
pfUI.screenshot.caption.text = pfUI.screenshot.caption:CreateFontString("Label", "OVERLAY")
pfUI.screenshot.caption.text:SetFont(C.screenshot.caption_font, C.screenshot.caption_size, "THICKOUTLINE")
pfUI.screenshot.caption.text:SetFont(pfUI.media[C.screenshot.caption_font], C.screenshot.caption_size, "THICKOUTLINE")
pfUI.screenshot.caption.text:SetAllPoints(pfUI.screenshot.caption)
pfUI.screenshot.caption.text:SetJustifyH("CENTER")
pfUI.screenshot.caption.text:SetJustifyV("TOP")