Update tui/src/confirmation.rs

Co-authored-by: Liam <33645555+lj3954@users.noreply.github.com>
This commit is contained in:
Jeevitha Kannan K S 2024-11-05 14:19:59 +05:30 committed by GitHub
parent bb974b2701
commit 5e4e336eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -88,14 +88,12 @@ impl FloatContent for ConfirmPrompt {
match event.kind { match event.kind {
MouseEventKind::ScrollDown => { MouseEventKind::ScrollDown => {
self.scroll_down(); self.scroll_down();
ConfirmStatus::None
} }
MouseEventKind::ScrollUp => { MouseEventKind::ScrollUp => {
self.scroll_up(); self.scroll_up();
ConfirmStatus::None
} }
_ => ConfirmStatus::None, _ => {}
}; }
false false
} }