Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

Commit

Permalink
Type fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Timidger committed Sep 10, 2016
1 parent 1eaa727 commit 85f6057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/actions/focus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl LayoutTree {
match self.tree[new_active_ix].get_type() {
ContainerType::Container => {
let path_ix = self.tree.follow_path(new_active_ix);
// If the pat wasn't complete, find the first view and focus on that
// If the path wasn't complete, find the first view and focus on that
let node_ix = (self.tree.descendant_of_type(path_ix, ContainerType::View)).unwrap();
let parent_ix = (self.tree.parent_of(node_ix)).unwrap();
match self.tree[node_ix].get_type() {
Expand Down

0 comments on commit 85f6057

Please sign in to comment.