diff --git a/Dalamud/Interface/ManagedFontAtlas/IFontAtlas.cs b/Dalamud/Interface/ManagedFontAtlas/IFontAtlas.cs index d32adc1eb..ec3e66e9a 100644 --- a/Dalamud/Interface/ManagedFontAtlas/IFontAtlas.cs +++ b/Dalamud/Interface/ManagedFontAtlas/IFontAtlas.cs @@ -1,6 +1,7 @@ using System.Threading.Tasks; using Dalamud.Interface.GameFonts; +using Dalamud.Interface.Utility; using ImGuiNET; @@ -18,9 +19,17 @@ public interface IFontAtlas : IDisposable event FontAtlasBuildStepDelegate? BuildStepChange; /// - /// Event fired when a font rebuild operation is suggested.
- /// This will be invoked from the main thread. + /// Event fired when a font rebuild operation is recommended.
+ /// This event will be invoked from the main thread.
+ ///
+ /// Reasons for the event include changes in and + /// initialization of new associated font handles. ///
+ /// + /// You should call or + /// if is not set to true.
+ /// Avoid calling here; it will block the main thread. + ///
event Action? RebuildRecommend; /// diff --git a/Dalamud/Interface/ManagedFontAtlas/Internals/IFontHandleManager.cs b/Dalamud/Interface/ManagedFontAtlas/Internals/IFontHandleManager.cs index 795ca61fc..93c688608 100644 --- a/Dalamud/Interface/ManagedFontAtlas/Internals/IFontHandleManager.cs +++ b/Dalamud/Interface/ManagedFontAtlas/Internals/IFontHandleManager.cs @@ -5,9 +5,7 @@ namespace Dalamud.Interface.ManagedFontAtlas.Internals; /// internal interface IFontHandleManager : IDisposable { - /// - /// Event fired when a font rebuild operation is suggested. - /// + /// event Action? RebuildRecommend; ///