Skip to content

Commit

Permalink
tweak api ImGuiGD::AddFont.
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaochen910 committed Mar 5, 2024
1 parent 3bbf346 commit 1331798
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/imgui-godot/ImGuiGodot/ImGuiGD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,9 @@ public static void ResetFonts()
Internal.State.Instance.Fonts.ResetFonts();
}

public static void AddFont(FontFile fontData, int fontSize, bool merge = false)
public static void AddFont(FontFile fontData, int fontSize, bool merge = false, ushort[] predefinedRanges = null)
{
Internal.State.Instance.Fonts.AddFont(fontData, fontSize, merge);
Internal.State.Instance.Fonts.AddFont(fontData, fontSize, merge, predefinedRanges);
}

public static void AddFontDefault()
Expand Down

0 comments on commit 1331798

Please sign in to comment.