From 609fa312b45d8a2103985824ec2447a17deadc16 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Fri, 7 Jul 2023 20:38:17 +0000 Subject: [PATCH] Formatting --- Editor/src/Windows/FileSystemUI.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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++; }