From fba594724cf7ed84eff672c5b82b4c4a1027eb5b Mon Sep 17 00:00:00 2001 From: ikpil Date: Thu, 7 Nov 2024 00:50:47 +0900 Subject: [PATCH] Silk.NET" 2.22.0 --- src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj | 4 ++-- src/DotRecast.Recast.Demo/UI/ImFilePicker.cs | 4 ++-- src/DotRecast.Recast.Demo/UI/RcLogView.cs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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);