diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b7cd40c..55f8c06f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Bug Fixes +- [211](https://github.com/ClementTsang/bottom/pull/211): Fixes a bug where you could move down in the process widget even if the process widget search was closed. + ## [0.4.7] - 2020-08-26 ### Bug Fixes diff --git a/src/app/layout_manager.rs b/src/app/layout_manager.rs index abd998d2..8b5ba40d 100644 --- a/src/app/layout_manager.rs +++ b/src/app/layout_manager.rs @@ -561,6 +561,7 @@ impl BottomLayout { .left_neighbour(Some(4)) .right_neighbour(Some(DEFAULT_WIDGET_ID)) .width_ratio(1) + .parent_reflector(Some((WidgetDirection::Right, 2))) .build(), BottomWidget::builder() .canvas_handle_width(true) @@ -583,6 +584,7 @@ impl BottomLayout { .up_neighbour(Some(DEFAULT_WIDGET_ID)) .left_neighbour(Some(4)) .right_neighbour(Some(7)) + .parent_reflector(Some((WidgetDirection::Up, 1))) .build()]) .build(), ]) @@ -646,6 +648,7 @@ impl BottomLayout { .down_neighbour(Some(DEFAULT_WIDGET_ID + 1)) .left_neighbour(Some(4)) .right_neighbour(Some(DEFAULT_WIDGET_ID)) + .parent_reflector(Some((WidgetDirection::Right, 2))) .build(), BottomWidget::builder() .canvas_handle_width(true) @@ -667,6 +670,7 @@ impl BottomLayout { .up_neighbour(Some(DEFAULT_WIDGET_ID)) .left_neighbour(Some(4)) .right_neighbour(Some(7)) + .parent_reflector(Some((WidgetDirection::Up, 1))) .build()]) .build(), ])