bug: fix issue with proc widget merging if in the same column as another

This commit is contained in:
ClementTsang 2020-04-07 21:15:58 -04:00
parent d2434bf8ad
commit 46e0eee1d3
1 changed files with 1 additions and 2 deletions

View File

@ -222,7 +222,6 @@ impl Row {
.widget_type(BottomWidgetType::Proc)
.widget_id(iter_old_id)
.build()])
.flex_grow(true)
.build(),
);
col_row_children.push(
@ -255,7 +254,7 @@ impl Row {
// Multiply all non-proc or proc-search ratios by 2
if !child.children.is_empty() {
match child.children[0].widget_type {
BottomWidgetType::Proc | BottomWidgetType::ProcSearch => {}
BottomWidgetType::ProcSearch => {}
_ => child.col_row_height_ratio *= 2,
}
}