chore: clean up lumina obsoletes and warnings

This commit is contained in:
Kaz Wolfe 2025-08-04 23:24:37 -07:00
parent 82f9db4ca6
commit 2f9363b9cc
No known key found for this signature in database
GPG key ID: 258813F53A16EBB4
6 changed files with 26 additions and 18 deletions

View file

@ -532,15 +532,6 @@ public sealed class UiBuilder : IDisposable, IUiBuilder
/// </summary>
public bool ShouldUseReducedMotion => Service<DalamudConfiguration>.Get().ReduceMotions ?? false;
private void OnDefaultStyleChanged()
=> this.DefaultStyleChanged.InvokeSafely();
private void OnDefaultGlobalScaleChanged()
=> this.DefaultGlobalScaleChanged.InvokeSafely();
private void OnDefaultFontChanged()
=> this.DefaultFontChanged.InvokeSafely();
/// <summary>
/// Gets or sets a value indicating whether statistics about UI draw time should be collected.
/// </summary>
@ -550,6 +541,15 @@ public sealed class UiBuilder : IDisposable, IUiBuilder
internal static bool DoStats { get; set; } = false;
#endif
private void OnDefaultStyleChanged()
=> this.DefaultStyleChanged.InvokeSafely();
private void OnDefaultGlobalScaleChanged()
=> this.DefaultGlobalScaleChanged.InvokeSafely();
private void OnDefaultFontChanged()
=> this.DefaultFontChanged.InvokeSafely();
/// <summary>
/// Gets a value indicating whether this UiBuilder has a configuration UI registered.
/// </summary>