Fix inverted percentage, skill.

This commit is contained in:
Ottermandias 2023-12-10 15:09:37 +01:00
parent a0328aab35
commit a9f36c6aef

View file

@ -33,7 +33,7 @@ public partial class TexToolsImporter
else
{
ImGui.NewLine();
var percentage = _modPackCount / (float)_currentModPackIdx;
var percentage = (float)_currentModPackIdx / _modPackCount;
ImGui.ProgressBar(percentage, size, $"Mod {_currentModPackIdx + 1} / {_modPackCount}");
ImGui.NewLine();
if (State == ImporterState.DeduplicatingFiles)