From 8062da6c5205e4b87177fb13af1741010f6587a4 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 8 Jun 2020 23:12:08 +0200 Subject: [PATCH] =?UTF-8?q?core:=20only=20initiali=C5=BAe=20fonts=20after?= =?UTF-8?q?=20bootup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pfUI.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pfUI.lua b/pfUI.lua index a19a1ac2..500fa071 100644 --- a/pfUI.lua +++ b/pfUI.lua @@ -262,8 +262,11 @@ end pfUI:SetScript("OnEvent", function() -- some addons overwrite color and font settings -- need to enforce pfUI's selection every time - pfUI:UpdateFonts() - pfUI:UpdateColors() + -- as soon as pfUI's config got initialized + if not pfUI.bootup then + pfUI:UpdateFonts() + pfUI:UpdateColors() + end if arg1 == pfUI.name then -- read pfUI version from .toc file