From fe8833a5d89322924fc068b6968d4ba06fde22d5 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 10 Jul 2020 15:44:08 +0200 Subject: [PATCH] core: enforce color update --- pfUI.lua | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pfUI.lua b/pfUI.lua index 500fa071..a0cd305b 100644 --- a/pfUI.lua +++ b/pfUI.lua @@ -260,12 +260,14 @@ function pfUI:LoadSkin(s) end pfUI:SetScript("OnEvent", function() - -- some addons overwrite color and font settings - -- need to enforce pfUI's selection every time - -- as soon as pfUI's config got initialized + -- enforce color updates on each event + pfUI:UpdateColors() + + -- make sure to initialize and set our fonts + -- each time an addon got loaded but only + -- when the config is already accessible if not pfUI.bootup then pfUI:UpdateFonts() - pfUI:UpdateColors() end if arg1 == pfUI.name then