mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Remove checking for available mods in the mod panel so you can create empty mods from the start.
This commit is contained in:
parent
ba2ffcc790
commit
cd74a41453
1 changed files with 3 additions and 15 deletions
|
|
@ -23,11 +23,6 @@ namespace Penumbra.UI
|
|||
_modManager = Service< ModManager >.Get();
|
||||
}
|
||||
|
||||
private static void DrawNoModsAvailable()
|
||||
{
|
||||
ImGui.Text( "You don't have any mods :(" );
|
||||
}
|
||||
|
||||
public void Draw()
|
||||
{
|
||||
var ret = ImGui.BeginTabItem( LabelTab );
|
||||
|
|
@ -38,16 +33,9 @@ namespace Penumbra.UI
|
|||
|
||||
using var raii = ImGuiRaii.DeferredEnd( ImGui.EndTabItem );
|
||||
|
||||
if( _modManager.Mods.Count > 0 )
|
||||
{
|
||||
Selector.Draw();
|
||||
ImGui.SameLine();
|
||||
ModPanel.Draw();
|
||||
}
|
||||
else
|
||||
{
|
||||
DrawNoModsAvailable();
|
||||
}
|
||||
Selector.Draw();
|
||||
ImGui.SameLine();
|
||||
ModPanel.Draw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue