2
0
Fork 0
mirror of https://github.com/ClementTsang/bottom synced 2025-02-15 12:48:28 +00:00

Tweaked the chart ratios

This commit is contained in:
ClementTsang 2020-01-28 22:38:36 -05:00
parent c415dfd88c
commit f32035b8d5

View file

@ -277,8 +277,8 @@ pub fn draw_data<B: backend::Backend>(
.margin(1)
.constraints(
[
Constraint::Percentage(33),
Constraint::Percentage(34),
Constraint::Percentage(30),
Constraint::Percentage(36),
Constraint::Percentage(34),
]
.as_ref(),
@ -971,7 +971,8 @@ fn draw_processes_table<B: backend::Backend>(
app_state.currently_selected_process_position,
);
let sliced_vec: Vec<ConvertedProcessHarvest> = (&process_data[start_position as usize..]).to_vec();
let sliced_vec: Vec<ConvertedProcessHarvest> =
(&process_data[start_position as usize..]).to_vec();
let mut process_counter = 0;
// Draw!