aboutsummaryrefslogtreecommitdiff
path: root/src/app.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.rs')
-rw-r--r--src/app.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/app.rs b/src/app.rs
index 3268649..6163ae3 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -141,6 +141,8 @@ impl App {
CurrentArea::PopupArea => {
if let Some(PopupKind::Help) = self.bibiman.popup_area.popup_kind {
self.bibiman.popup_area.popup_scroll_down();
+ } else if let Some(PopupKind::Selection) = self.bibiman.popup_area.popup_kind {
+ self.bibiman.popup_area.popup_state.scroll_down_by(1)
}
}
_ => {}
@@ -156,6 +158,8 @@ impl App {
CurrentArea::PopupArea => {
if let Some(PopupKind::Help) = self.bibiman.popup_area.popup_kind {
self.bibiman.popup_area.popup_scroll_up();
+ } else if let Some(PopupKind::Selection) = self.bibiman.popup_area.popup_kind {
+ self.bibiman.popup_area.popup_state.scroll_up_by(1)
}
}
_ => {}