fix: Invalid parameters passed to task progress bar formatter
This commit is contained in:
parent
11f75f72ee
commit
823881f7f1
@ -187,7 +187,7 @@ namespace hex::plugin::builtin {
|
||||
if (progress < 0)
|
||||
progressString = "";
|
||||
else
|
||||
progressString = hex::format("[ {}/{} ({:.1f}%) ] ", frontTask->getValue() / frontTask->getMaxValue(), progress * 100.0F);
|
||||
progressString = hex::format("[ {}/{} ({:.1f}%) ] ", frontTask->getValue(), frontTask->getMaxValue(), progress * 100.0F);
|
||||
|
||||
ImGuiExt::InfoTooltip(hex::format("{}{}", progressString, Lang(frontTask->getUnlocalizedName())).c_str());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user