This commit is contained in:
Бранимир Караџић
2024-02-24 19:24:49 -08:00
parent e5fb94d142
commit a3eb92d1b6

View File

@@ -1884,7 +1884,6 @@ int _main_(int _argc, char** _argv)
if (ImGui::BeginChild("##file_list", ImVec2(0.0f, 0.0f) ) )
{
ImGui::PushFont(ImGui::Font::Mono);
const float itemHeight = ImGui::GetTextLineHeightWithSpacing();
const float listHeight =
bx::max(1.0f, bx::floor(ImGui::GetWindowHeight()/itemHeight) )
* itemHeight