From e39ff707c867f239b4cf8b5d9f45f135a4f016eb Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 1 Jan 2017 17:57:33 +0100 Subject: [PATCH] api: enforce fonts and colors --- pfUI.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pfUI.lua b/pfUI.lua index 4efb0b5f..d2cbbc33 100644 --- a/pfUI.lua +++ b/pfUI.lua @@ -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 = {}