Skip to content

Commit

Permalink
PM: using both (bugged in ImGui!)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brambor committed Jan 1, 2025
1 parent a4a301d commit 5ce0c40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/path_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,10 @@ void path_manager_ui::draw_controls()
enabled_active_button( "SWAP_START_END", pimpl->selected_id != -1 );
ImGui::PopItemFlag(); // ImGuiItemFlags_NoNav

// Use NavFlattened to select the first entry in the table instead of the table itself.
ImGui::BeginChild( "table", ImVec2( 0, 0 ), ImGuiChildFlags_NavFlattened );
if( ! ImGui::BeginTable( "PATH_MANAGER", 6, ImGuiTableFlags_Resizable ) ) {
if( ! ImGui::BeginTable( "PATH_MANAGER", 6, ImGuiTableFlags_Resizable | ImGuiTableFlags_ScrollY ) ) {
ImGui::EndChild();
return;
}
// TODO invlet
Expand Down

0 comments on commit 5ce0c40

Please sign in to comment.