From c748b9a21836da67fdc2086a02849c939609054a Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Fri, 21 Jul 2023 00:18:01 -0400 Subject: [PATCH] Using font manager for folder icons --- Editor/src/Windows/FileSystemUI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index 7a43c250..eb059fc1 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -86,7 +86,7 @@ namespace Nuake void FileSystemUI::DrawDirectory(Ref directory) { - ImGui::PushFont(EditorInterface::bigIconFont); + ImGui::PushFont(FontManager::GetFont(Icons)); const char* icon = ICON_FA_FOLDER; const std::string id = ICON_FA_FOLDER + std::string("##") + directory->name; if (ImGui::Button(id.c_str(), ImVec2(100, 100)))