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:
parent
99d04029f0
commit
e04ce4fa1b
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue