feat: ctrl scroll modifier
Use the `ctrl` button to scroll by a factor of ten
This commit is contained in:
+4
-1
@@ -255,7 +255,10 @@ impl Ui {
|
||||
event::MouseEventKind::Down(_)
|
||||
| event::MouseEventKind::ScrollDown
|
||||
| event::MouseEventKind::ScrollUp => {
|
||||
self.input_tx.send(InputMessages::MouseEvent(m)).await.ok();
|
||||
self.input_tx
|
||||
.send(InputMessages::MouseEvent((m, m.modifiers)))
|
||||
.await
|
||||
.ok();
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user