mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Call Cache.Update every time it gets drawn, not only if the list is nonempty.
This commit is contained in:
parent
eea7cba805
commit
aa92127772
2 changed files with 2 additions and 8 deletions
|
|
@ -744,9 +744,9 @@ namespace Penumbra.UI
|
|||
|
||||
public void Draw()
|
||||
{
|
||||
if( Cache.Count == 0 )
|
||||
if( Cache.Update() && Mod != null )
|
||||
{
|
||||
return;
|
||||
SelectModByDir( Mod.Data.BasePath.Name );
|
||||
}
|
||||
|
||||
try
|
||||
|
|
@ -764,10 +764,6 @@ namespace Penumbra.UI
|
|||
true, ImGuiWindowFlags.HorizontalScrollbar );
|
||||
|
||||
ImGui.PushStyleVar( ImGuiStyleVar.IndentSpacing, 12.5f );
|
||||
if( Cache.Update() && Mod != null )
|
||||
{
|
||||
SelectModByDir( Mod.Data.BasePath.Name );
|
||||
}
|
||||
|
||||
var modIndex = 0;
|
||||
DrawFolderContent( _modManager.StructuredMods, ref modIndex );
|
||||
|
|
|
|||
|
|
@ -241,8 +241,6 @@ namespace Penumbra.UI
|
|||
"The number of frames penumbra waits after some events (like zone changes) until it starts trying to redraw actors again, in a range of [1, 3001].\n"
|
||||
+ "Keep this as low as possible while producing stable results." );
|
||||
}
|
||||
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue