diff --git a/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj b/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj
index cdb580f..fa14c2e 100644
--- a/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj
+++ b/src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj
@@ -27,8 +27,8 @@
-
-
+
+
diff --git a/src/DotRecast.Recast.Demo/UI/ImFilePicker.cs b/src/DotRecast.Recast.Demo/UI/ImFilePicker.cs
index 329554a..a49c02a 100644
--- a/src/DotRecast.Recast.Demo/UI/ImFilePicker.cs
+++ b/src/DotRecast.Recast.Demo/UI/ImFilePicker.cs
@@ -69,7 +69,7 @@ public class ImFilePicker
ImGui.Text("Current Folder: " + CurrentFolder);
bool result = false;
- if (ImGui.BeginChildFrame(1, new Vector2(1024, 400)))
+ if (ImGui.BeginChild(1, new Vector2(1024, 400)))
{
var di = new DirectoryInfo(CurrentFolder);
if (di.Exists)
@@ -111,7 +111,7 @@ public class ImFilePicker
}
}
- ImGui.EndChildFrame();
+ ImGui.EndChild();
if (ImGui.Button("Cancel"))
diff --git a/src/DotRecast.Recast.Demo/UI/RcLogView.cs b/src/DotRecast.Recast.Demo/UI/RcLogView.cs
index fbdb7c2..2659c3e 100644
--- a/src/DotRecast.Recast.Demo/UI/RcLogView.cs
+++ b/src/DotRecast.Recast.Demo/UI/RcLogView.cs
@@ -80,7 +80,7 @@ public class RcLogView : IRcView
}
- if (ImGui.BeginChild("scrolling", Vector2.Zero, false, ImGuiWindowFlags.HorizontalScrollbar))
+ if (ImGui.BeginChild("scrolling", Vector2.Zero, ImGuiChildFlags.None, ImGuiWindowFlags.HorizontalScrollbar))
{
_isHovered = ImGui.IsWindowHovered(ImGuiHoveredFlags.RectOnly | ImGuiHoveredFlags.RootAndChildWindows);