mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
add forced invoke scan for clearing cache dir, add forced rescan on pause
This commit is contained in:
parent
79b412b00a
commit
a02c872307
3 changed files with 11 additions and 4 deletions
|
|
@ -159,6 +159,11 @@ namespace MareSynchronos.UI
|
|||
else if (_pluginConfiguration.FileScanPaused)
|
||||
{
|
||||
ImGui.Text("File scanner is paused");
|
||||
ImGui.SameLine();
|
||||
if (ImGui.Button("Force Rescan##forcedrescan"))
|
||||
{
|
||||
_cacheScanner.InvokeScan(true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -512,7 +517,7 @@ namespace MareSynchronos.UI
|
|||
|
||||
public void RecalculateFileCacheSize()
|
||||
{
|
||||
_cacheScanner.InvokeScan();
|
||||
_cacheScanner.InvokeScan(true);
|
||||
}
|
||||
|
||||
public void DrawParallelScansSetting()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue