Skip to content

Commit

Permalink
update part info when navigating between body parts (CleverRaven#65146)
Browse files Browse the repository at this point in the history
  • Loading branch information
2qar authored Apr 18, 2023
1 parent 2b4112e commit f088f13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bodygraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@ void bodygraph_display::display()
} else if( action == "SCROLL_INFOBOX_DOWN" || action == "PAGE_DOWN" ) {
top_info++;
} else if( navigate_ui_list( action, sel_part, 3, partlist.size(), true ) ) {
prepare_infolist();
}
if( static_cast<int>( info_txt.size() ) >= all_height - 2 ) {
top_info = clamp( top_info, 0, static_cast<int>( info_txt.size() ) - ( all_height - 2 ) );
Expand Down

0 comments on commit f088f13

Please sign in to comment.