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)
|
.adjacent(self.pane_model.focus, direction)
|
||||||
{
|
{
|
||||||
self.pane_model.focus = adjacent;
|
self.pane_model.focus = adjacent;
|
||||||
return Command::batch([
|
return self.update_title(Some(adjacent));
|
||||||
self.update_focus(),
|
|
||||||
self.update_title(Some(adjacent)),
|
|
||||||
]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Message::PaneResized(pane_grid::ResizeEvent { split, ratio }) => {
|
Message::PaneResized(pane_grid::ResizeEvent { split, ratio }) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue