Set style parameter of CompileSeStringWrapped to default (#1991)

This commit is contained in:
Haselnussbomber 2024-08-02 00:16:30 +02:00 committed by GitHub
parent c721069b08
commit fc7b1f222d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -208,7 +208,7 @@ public static class ImGuiHelpers
[Experimental("SeStringRenderer")]
public static SeStringDrawResult CompileSeStringWrapped(
string text,
scoped in SeStringDrawParams style,
scoped in SeStringDrawParams style = default,
ImGuiId imGuiId = default,
ImGuiButtonFlags buttonFlags = ImGuiButtonFlags.MouseButtonDefault) =>
Service<SeStringRenderer>.Get().CompileAndDrawWrapped(text, style, imGuiId, buttonFlags);