gui: Fix casting on storage bar

This commit is contained in:
Joel16 2020-08-10 16:33:24 -04:00
parent 243b201038
commit 08aa3a05bd

View File

@ -399,7 +399,7 @@ namespace GUI {
// Draw storage bar
ImGui::Dummy(ImVec2(0.0f, 1.0f)); // Spacing
ImGui::ProgressBar((float)storage_space/float(total_space), ImVec2(1280.0f, 6.0f));
ImGui::ProgressBar((float)storage_space / (float)total_space, ImVec2(1280.0f, 6.0f));
ImGui::Dummy(ImVec2(0.0f, 2.0f)); // Spacing
ImGui::BeginChild("##FS::DirList");