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
@@ -7,7 +7,7 @@ pfUI:RegisterModule("castbar", 20400, function ()
default_border = C.appearance.border.unitframes
end
local cbtexture = C.appearance.castbar.texture
local cbtexture = pfUI.media[C.appearance.castbar.texture]
local function CreateCastbar(name, parent, unitstr, unitname)
local cb = CreateFrame("Frame", name, parent or UIParent)