diff --git a/Core/Skins/Core.lua b/Core/Skins/Core.lua index 30c74730..3377f340 100644 --- a/Core/Skins/Core.lua +++ b/Core/Skins/Core.lua @@ -465,10 +465,11 @@ end --Skins a frame and all its children ---@param widget Frame function module.SkinWidgets(widget) - if not widget or not widget.widgetType then return end + if not widget or not widget.widgetType or widget.SUISkinned then return end ---@diagnostic disable-next-line: undefined-field local widgetFunc = module.Objects[GetWidgetVisualizationTypeKey(widget.widgetType)] if widgetFunc then widgetFunc(widget) end + widget.SUISkinned = true end module.Registry = {} diff --git a/Modules/Artwork/BlizzMovers.lua b/Modules/Artwork/BlizzMovers.lua index 9def7759..e7c81c76 100644 --- a/Modules/Artwork/BlizzMovers.lua +++ b/Modules/Artwork/BlizzMovers.lua @@ -242,7 +242,7 @@ local function TopCenterContainer() end module:RegisterEvent('PLAYER_ENTERING_WORLD') module:RegisterEvent('UPDATE_ALL_UI_WIDGETS') - module:RegisterEvent('UPDATE_UI_WIDGET') + -- module:RegisterEvent('UPDATE_UI_WIDGET') end function module:UPDATE_UI_WIDGET()