chore: remove [Experimental] from SeStringRenderer (#2144)

It hasn't caused problem for a while (though performance probably can be
better), and looks good enough to remove this attribute.
This commit is contained in:
srkizer 2024-12-18 00:31:44 +09:00 committed by GitHub
parent 722ee32353
commit 70af62885b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 0 additions and 10 deletions

View file

@ -60,9 +60,7 @@ internal unsafe partial class TextNodeTree : ResNodeTree
EdgeStrength = 1f,
};
#pragma warning disable SeStringRenderer
ImGuiHelpers.SeStringWrapped(this.NodeText.AsSpan(), style);
#pragma warning restore SeStringRenderer
}
catch
{

View file

@ -12,8 +12,6 @@ using Lumina.Text.ReadOnly;
namespace Dalamud.Interface.Internal.Windows.Data.Widgets;
#pragma warning disable SeStringRenderer
/// <summary>
/// Widget for displaying AtkArrayData.
/// </summary>

View file

@ -18,8 +18,6 @@ using Lumina.Excel.Sheets;
namespace Dalamud.Interface.Internal.Windows.Data.Widgets;
#pragma warning disable SeStringRenderer
/// <summary>
/// Widget for displaying inventory data.
/// </summary>

View file

@ -23,8 +23,6 @@ using Lumina.Text.ReadOnly;
namespace Dalamud.Interface.Internal.Windows.Data.Widgets;
#pragma warning disable SeStringRenderer
/// <summary>
/// Widget for displaying Addon Data.
/// </summary>

View file

@ -212,7 +212,6 @@ public static class ImGuiHelpers
/// <returns>Interaction result of the rendered text.</returns>
/// <remarks>This function is experimental. Report any issues to GitHub issues or to Discord #dalamud-dev channel.
/// The function definition is stable; only in the next API version a function may be removed.</remarks>
[Experimental("SeStringRenderer")]
public static SeStringDrawResult SeStringWrapped(
ReadOnlySpan<byte> sss,
scoped in SeStringDrawParams style = default,
@ -229,7 +228,6 @@ public static class ImGuiHelpers
/// <returns>Interaction result of the rendered text.</returns>
/// <remarks>This function is experimental. Report any issues to GitHub issues or to Discord #dalamud-dev channel.
/// The function definition is stable; only in the next API version a function may be removed.</remarks>
[Experimental("SeStringRenderer")]
public static SeStringDrawResult CompileSeStringWrapped(
string text,
scoped in SeStringDrawParams style = default,