diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index 5fafc2d2..6c5096d6 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -329,11 +329,11 @@ namespace Nuake { { for (Ref& d : m_CurrentDirectory->Directories) { - if (i + 1 % amount != 0) ImGui::TableNextColumn(); else ImGui::TableNextRow(); + DrawDirectory(d); i++; } @@ -347,6 +347,7 @@ namespace Nuake { ImGui::TableNextColumn(); else ImGui::TableNextRow(); + DrawFile(f); i++; }