X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/a7e766ac6a22d25458433393b900e5f9a4def266..6f9efe3aedbfb5f6be2277de730fa446d87bb4d7:/OmaRF/Indicators.lua?ds=inline diff --git a/OmaRF/Indicators.lua b/OmaRF/Indicators.lua index c59c975..929b960 100644 --- a/OmaRF/Indicators.lua +++ b/OmaRF/Indicators.lua @@ -1,4 +1,3 @@ -local media = LibStub:GetLibrary("LibSharedMedia-3.0"); local f = OmaRF.frames; local positions = OmaRF.positions; local pad = 2; @@ -35,9 +34,8 @@ local function configureIndicators(frame, name) if not f[frameName] then return end local config = OmaRF.db.profile.indicators; - local font = media and media:Fetch('font', config.indicatorFont) or STANDARD_TEXT_FONT; for pos, ind in pairs(f[frameName]) do - ind.text:SetFont(font, config[pos]["textSize"]); + ind.text:SetFont(STANDARD_TEXT_FONT, config[pos]["textSize"]); ind.text:SetTextColor(unpack(config[pos]["textColor"])); ind.icon:SetWidth(config[pos]["iconSize"]); ind.icon:SetHeight(config[pos]["iconSize"]);