Fix imgui deprecation warnings, some formatting.

This commit is contained in:
Ottermandias 2021-04-18 23:03:34 +02:00
parent c25334ea58
commit 63407f775f
3 changed files with 27 additions and 23 deletions

View file

@ -53,14 +53,14 @@ namespace Penumbra.UI
return;
}
if( ImGui.ListBoxHeader( "##effective_files", AutoFillSize ) )
if( ImGui.BeginListBox( "##effective_files", AutoFillSize ) )
{
foreach( var file in _mods.ResolvedFiles )
{
DrawFileLine( file.Value, file.Key );
}
ImGui.ListBoxFooter();
ImGui.EndListBox();
}
ImGui.EndTabItem();