mirror of
https://github.com/joel16/NX-Shell.git
synced 2025-02-17 02:29:02 +00:00
gui: Fix casting on storage bar
This commit is contained in:
parent
243b201038
commit
08aa3a05bd
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user