Avoid doing duplicate focus
This commit is contained in:
parent
d9ae46598e
commit
35dcdc686c
1 changed files with 1 additions and 4 deletions
|
|
@ -1019,10 +1019,7 @@ impl Application for App {
|
|||
.adjacent(self.pane_model.focus, direction)
|
||||
{
|
||||
self.pane_model.focus = adjacent;
|
||||
return Command::batch([
|
||||
self.update_focus(),
|
||||
self.update_title(Some(adjacent)),
|
||||
]);
|
||||
return self.update_title(Some(adjacent));
|
||||
}
|
||||
}
|
||||
Message::PaneResized(pane_grid::ResizeEvent { split, ratio }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue