mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-09-22 17:28:19 +02:00
bug: fix issue with proc widget merging if in the same column as another
This commit is contained in:
parent
d2434bf8ad
commit
46e0eee1d3
@ -222,7 +222,6 @@ impl Row {
|
|||||||
.widget_type(BottomWidgetType::Proc)
|
.widget_type(BottomWidgetType::Proc)
|
||||||
.widget_id(iter_old_id)
|
.widget_id(iter_old_id)
|
||||||
.build()])
|
.build()])
|
||||||
.flex_grow(true)
|
|
||||||
.build(),
|
.build(),
|
||||||
);
|
);
|
||||||
col_row_children.push(
|
col_row_children.push(
|
||||||
@ -255,7 +254,7 @@ impl Row {
|
|||||||
// Multiply all non-proc or proc-search ratios by 2
|
// Multiply all non-proc or proc-search ratios by 2
|
||||||
if !child.children.is_empty() {
|
if !child.children.is_empty() {
|
||||||
match child.children[0].widget_type {
|
match child.children[0].widget_type {
|
||||||
BottomWidgetType::Proc | BottomWidgetType::ProcSearch => {}
|
BottomWidgetType::ProcSearch => {}
|
||||||
_ => child.col_row_height_ratio *= 2,
|
_ => child.col_row_height_ratio *= 2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user