From d45a0825a821a8aa71270a05dc54eb7533380291 Mon Sep 17 00:00:00 2001 From: Antoine Pilote Date: Sat, 16 Sep 2023 13:06:13 -0400 Subject: [PATCH] Added missing frame rounding --- Editor/src/Windows/FileSystemUI.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Editor/src/Windows/FileSystemUI.cpp b/Editor/src/Windows/FileSystemUI.cpp index daebb70b..d9f25563 100644 --- a/Editor/src/Windows/FileSystemUI.cpp +++ b/Editor/src/Windows/FileSystemUI.cpp @@ -62,6 +62,7 @@ namespace Nuake void FileSystemUI::DrawDirectory(Ref directory, uint32_t drawId) { ImGui::PushFont(FontManager::GetFont(Icons)); + ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 4.0f); 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)))