api: enforce fonts and colors

This commit is contained in:
shagu
2017-01-01 17:57:33 +01:00
parent 8c3a1dcb9d
commit e39ff707c8
+6
View File
@@ -37,6 +37,12 @@ pfLocaleSpellInterrupts = {}
pfLocaleHunterbars = {}
pfUI:SetScript("OnEvent", function()
-- some addons overwrite color and font settings
-- need to enforce pfUI's selection every time
pfUI.environment:UpdateFonts()
pfUI.environment:UpdateColors()
if arg1 == "pfUI" then
if not pfUI_init then
pfUI_init = {}