diff options
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index 34a19c5..6112e46 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -356,19 +356,19 @@ impl PanelState for BrowserState { CmdResult::Keep } Internal::previous_match => { - self.displayed_tree_mut().try_select_previous_match(); + self.displayed_tree_mut().try_select_previous_match(page_height); CmdResult::Keep } Internal::next_match => { - self.displayed_tree_mut().try_select_next_match(); + self.displayed_tree_mut().try_select_next_match(page_height); CmdResult::Keep } Internal::previous_same_depth => { - self.displayed_tree_mut().try_select_previous_same_depth(); + self.displayed_tree_mut().try_select_previous_same_depth(page_height); CmdResult::Keep } Internal::next_same_depth => { - self.displayed_tree_mut().try_select_next_same_depth(); + self.displayed_tree_mut().try_select_next_same_depth(page_height); CmdResult::Keep } Internal::page_down => { |