Fix expanding blocks to bottom of screen
This commit is contained in:
parent
5d3e0ef73c
commit
327a524c86
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ impl<M: Msg, S: MsgStore<M>> InnerTreeViewState<M, S> {
|
|||
let bottom_root = blocks.bottom_root();
|
||||
let next_tree_id = match bottom_root {
|
||||
Root::Bottom => break,
|
||||
Root::Tree(tree_id) => self.store.prev_tree_id(tree_id).await,
|
||||
Root::Tree(tree_id) => self.store.next_tree_id(tree_id).await,
|
||||
};
|
||||
if let Some(next_tree_id) = next_tree_id {
|
||||
let next_tree = self.store.tree(&next_tree_id).await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue