mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-05-05 22:40:46 +00:00
bug: [skip travis] Fix use_old_network_legend
This was caused by invalid widths being set for the maximal widths in the table. This made it impossible to draw.
This commit is contained in:
@@ -375,7 +375,10 @@ impl NetworkGraphWidget for Painter {
|
||||
let intrinsic_widths = get_column_widths(
|
||||
draw_loc.width,
|
||||
&[None, None, None, None],
|
||||
&[Some(6); 4],
|
||||
&(NETWORK_HEADERS_LENS
|
||||
.iter()
|
||||
.map(|s| Some(*s))
|
||||
.collect::<Vec<_>>()),
|
||||
&[Some(0.25); 4],
|
||||
&(NETWORK_HEADERS_LENS
|
||||
.iter()
|
||||
|
||||
Reference in New Issue
Block a user