diff --git a/src/ImGui.NET/ImGui.cs b/src/ImGui.NET/ImGui.cs index 5e2fadb..2b02875 100644 --- a/src/ImGui.NET/ImGui.cs +++ b/src/ImGui.NET/ImGui.cs @@ -987,5 +987,15 @@ namespace ImGuiNET { ImGuiNative.igSetWindowFontScale(scale); } + + public static void SetScrollHere() + { + ImGuiNative.igSetScrollHere(); + } + + public static void SetScrollHere(float centerYRatio) + { + ImGuiNative.igSetScrollHere(centerYRatio); + } } }