mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Don't scroll cost combo list.
This commit is contained in:
parent
a5991036dc
commit
ad2b6e932b
@ -1239,7 +1239,7 @@ void SourceView::RenderSymbolView( Worker& worker, View& view )
|
|||||||
}
|
}
|
||||||
ImGui::SetNextItemWidth( mw + ImGui::GetFontSize() );
|
ImGui::SetNextItemWidth( mw + ImGui::GetFontSize() );
|
||||||
ImGui::PushStyleVar( ImGuiStyleVar_FramePadding, ImVec2( 0, 0 ) );
|
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::PopStyleVar();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user