Add noop for mouse actions on plugins
* Comments the `unimplemented!` macro out, in favor of a noop The macro is still there for easy greppability. It is still unimplemented, but zellij doesn't need to panic once a plugin does get a scroll event.
This commit is contained in:
parent
55bc1feee1
commit
697ba09c71
1 changed files with 3 additions and 3 deletions
|
|
@ -196,13 +196,13 @@ impl Pane for PluginPane {
|
||||||
self.position_and_size.y -= count;
|
self.position_and_size.y -= count;
|
||||||
}
|
}
|
||||||
fn scroll_up(&mut self, _count: usize) {
|
fn scroll_up(&mut self, _count: usize) {
|
||||||
unimplemented!()
|
//unimplemented!()
|
||||||
}
|
}
|
||||||
fn scroll_down(&mut self, _count: usize) {
|
fn scroll_down(&mut self, _count: usize) {
|
||||||
unimplemented!()
|
//unimplemented!()
|
||||||
}
|
}
|
||||||
fn clear_scroll(&mut self) {
|
fn clear_scroll(&mut self) {
|
||||||
unimplemented!()
|
//unimplemented!()
|
||||||
}
|
}
|
||||||
// FIXME: This need to be reevaluated and deleted if possible.
|
// FIXME: This need to be reevaluated and deleted if possible.
|
||||||
// `max` doesn't make sense when things are fixed...
|
// `max` doesn't make sense when things are fixed...
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue