Skip to content

Commit

Permalink
Silk.NET" 2.22.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ikpil committed Nov 6, 2024
1 parent 193fe6d commit fba5947
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/DotRecast.Recast.Demo/DotRecast.Recast.Demo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
<PackageReference Include="Serilog.Sinks.Console" Version="6.0.0" />
<PackageReference Include="Serilog.Sinks.File" Version="6.0.0" />
<PackageReference Include="K4os.Compression.LZ4" Version="1.3.8" />
<PackageReference Include="Silk.NET" Version="2.21.0" />
<PackageReference Include="Silk.NET.OpenGL.Extensions.ImGui" Version="2.21.0" />
<PackageReference Include="Silk.NET" Version="2.22.0" />
<PackageReference Include="Silk.NET.OpenGL.Extensions.ImGui" Version="2.22.0" />
</ItemGroup>

<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions src/DotRecast.Recast.Demo/UI/ImFilePicker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public bool Draw()
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)
Expand Down Expand Up @@ -111,7 +111,7 @@ public bool Draw()
}
}

ImGui.EndChildFrame();
ImGui.EndChild();


if (ImGui.Button("Cancel"))
Expand Down
2 changes: 1 addition & 1 deletion src/DotRecast.Recast.Demo/UI/RcLogView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void Draw(double dt)
}


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);

Expand Down

0 comments on commit fba5947

Please sign in to comment.