Skip to content

Commit

Permalink
Render fix
Browse files Browse the repository at this point in the history
Aragas committed Oct 12, 2024

Verified

This commit was signed with the committer’s verified signature.
Aragas Vitalii Mikhailov
1 parent eeff622 commit 74a7cb3
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions src/BUTR.CrashReport.Renderer.ImGui/Renderer/ImGuiRenderer.cs
Original file line number Diff line number Diff line change
@@ -160,18 +160,21 @@ public void Render()
}
_imgui.EndChild();

if (_loadedPluginsTitle.Length > 0 && _imgui.BeginChild(_loadedPluginsTitle, in Zero2, in White, ImGuiChildFlags.Border | ImGuiChildFlags.AutoResizeY, ImGuiWindowFlags.None))
if (_loadedPluginsTitle.Length > 0)
{
_imgui.SetWindowFontScale(2);
if (_imgui.TreeNode(_loadedPluginsTitle))
if (_imgui.BeginChild(_loadedPluginsTitle, in Zero2, in White, ImGuiChildFlags.Border | ImGuiChildFlags.AutoResizeY, ImGuiWindowFlags.None))
{
_imgui.SetWindowFontScale(2);
if (_imgui.TreeNode(_loadedPluginsTitle))
{
_imgui.SetWindowFontScale(1);
RenderLoadedLoaderPlugins();
}
_imgui.TreePop();
_imgui.SetWindowFontScale(1);
RenderLoadedLoaderPlugins();
}
_imgui.TreePop();
_imgui.SetWindowFontScale(1);
_imgui.EndChild();
}
_imgui.EndChild();

if (_imgui.BeginChild("Assemblies\0"u8, in Zero2, in White, ImGuiChildFlags.Border | ImGuiChildFlags.AutoResizeY, ImGuiWindowFlags.None))
{

0 comments on commit 74a7cb3

Please sign in to comment.