Don't scroll cost combo list.

This commit is contained in:
Bartosz Taudul 2021-06-20 00:01:21 +02:00
parent a5991036dc
commit ad2b6e932b
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -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();