diff options
| author | lukeflo | 2024-11-15 15:56:57 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-15 15:56:57 +0100 |
| commit | 511d380da8e198c01cd73fe9da35d557584a0023 (patch) | |
| tree | f385c11fb10ebed45656207cce602b7d7f17494c /src/app.rs | |
| parent | b9a2a79b5ae1315c03029adf37661deb9140b8dd (diff) | |
| download | bibiman-511d380da8e198c01cd73fe9da35d557584a0023.tar.gz bibiman-511d380da8e198c01cd73fe9da35d557584a0023.zip | |
selection popup: not impl as trait...
Diffstat (limited to 'src/app.rs')
| -rw-r--r-- | src/app.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) } } _ => {} |
