Fix vertical off-by-one
This commit is contained in:
parent
f8d365064c
commit
3b8cd6c0a1
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ impl<M: Msg> TreeView<M> {
|
||||||
// TODO Ensure there is no focus
|
// TODO Ensure there is no focus
|
||||||
|
|
||||||
// Start layout at the bottom of the screen
|
// Start layout at the bottom of the screen
|
||||||
let mut layout = Layout::new_below(height);
|
let mut layout = Layout::new_below(height - 1);
|
||||||
|
|
||||||
// Expand layout upwards until the edge of the screen
|
// Expand layout upwards until the edge of the screen
|
||||||
if let Some(last_tree) = store.last_tree(room).await {
|
if let Some(last_tree) = store.last_tree(room).await {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue