mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-30 03:06:01 +00:00
api: enforce fonts and colors
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user