From a44f4a77e8b976ca6f771d20d0f67a83f53dcc42 Mon Sep 17 00:00:00 2001 From: Eric Mellino Date: Wed, 24 Aug 2016 00:32:03 -0700 Subject: [PATCH] SetScrollHere() --- src/ImGui.NET/ImGui.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); + } } }