from retail
This commit is contained in:
@@ -2349,9 +2349,24 @@ LSM.RegisterCallback(WeakAuras, "LibSharedMedia_Registered", function(_, mediaty
|
||||
Private.sound_types[path] = key
|
||||
Private.sound_file_types[path] = key
|
||||
end
|
||||
elseif mediatype == "statusbar" then
|
||||
local path = LSM:Fetch(mediatype, key)
|
||||
if path then
|
||||
Private.texture_types["LibSharedMedia Textures"][path] = key
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
Private.texture_types["LibSharedMedia Textures"] = {}
|
||||
for _, mediaType in ipairs{"statusbar"} do
|
||||
local mediaTable = LSM:HashTable(mediaType)
|
||||
if mediaTable then
|
||||
for name, path in pairs(mediaTable) do
|
||||
Private.texture_types["LibSharedMedia Textures"][path] = name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- register options font
|
||||
LSM:Register("font", "Fira Mono Medium", "Interface\\Addons\\WeakAuras\\Media\\Fonts\\FiraMono-Medium.ttf", LSM.LOCALE_BIT_western + LSM.LOCALE_BIT_ruRU)
|
||||
-- Other Fira fonts
|
||||
|
||||
Reference in New Issue
Block a user