Silk.NET" 2.22.0

This commit is contained in:
ikpil 2024-11-07 00:50:47 +09:00
parent 193fe6dce5
commit fba594724c
3 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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"))

View File

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