From ad2b6e932b639ee99a00920cfd44e08f1c9223cf Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sun, 20 Jun 2021 00:01:21 +0200 Subject: [PATCH] Don't scroll cost combo list. --- server/TracySourceView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/TracySourceView.cpp b/server/TracySourceView.cpp index 83ce8191..7e77ae19 100644 --- a/server/TracySourceView.cpp +++ b/server/TracySourceView.cpp @@ -1239,7 +1239,7 @@ void SourceView::RenderSymbolView( Worker& worker, View& view ) } ImGui::SetNextItemWidth( mw + ImGui::GetFontSize() ); ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) ); - ImGui::Combo( "##cost", &m_cost, items, sizeof( items ) / sizeof( *items ) ); + ImGui::Combo( "##cost", &m_cost, items, sizeof( items ) / sizeof( *items ), 100 ); ImGui::PopStyleVar(); ImGui::SameLine(); ImGui::Spacing();