Merge pull request #620 from a-kenji/plugin-crash-on-mouse-event

Add noop for mouse actions on `plugins`
This commit is contained in:
a-kenji 2021-07-20 16:26:20 +02:00 committed by GitHub
commit 855572f526
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,13 +196,13 @@ impl Pane for PluginPane {
self.position_and_size.y -= count;
}
fn scroll_up(&mut self, _count: usize) {
unimplemented!()
//unimplemented!()
}
fn scroll_down(&mut self, _count: usize) {
unimplemented!()
//unimplemented!()
}
fn clear_scroll(&mut self) {
unimplemented!()
//unimplemented!()
}
// FIXME: This need to be reevaluated and deleted if possible.
// `max` doesn't make sense when things are fixed...