mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-23 17:09:22 +01:00
Tiny improvement to importing progress bar. Not sane, but at least not 420 / 69 objects extracted.
This commit is contained in:
parent
f3857e03be
commit
fc2a18e5e7
1 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ namespace Penumbra.Importer
|
||||||
|
|
||||||
public ImporterState State { get; private set; }
|
public ImporterState State { get; private set; }
|
||||||
|
|
||||||
public long TotalProgress { get; private set; }
|
public long TotalProgress { get; private set; } = 0;
|
||||||
public long CurrentProgress { get; private set; }
|
public long CurrentProgress { get; private set; }
|
||||||
|
|
||||||
public float Progress
|
public float Progress
|
||||||
|
|
@ -282,7 +282,7 @@ namespace Penumbra.Importer
|
||||||
// haha allocation go brr
|
// haha allocation go brr
|
||||||
var wtf = mods.ToList();
|
var wtf = mods.ToList();
|
||||||
|
|
||||||
TotalProgress = wtf.LongCount();
|
TotalProgress += wtf.LongCount();
|
||||||
|
|
||||||
// Extract each SimpleMod into the new mod folder
|
// Extract each SimpleMod into the new mod folder
|
||||||
foreach( var simpleMod in wtf )
|
foreach( var simpleMod in wtf )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue