mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Make shift-scroll do horizontal scrolling on all platforms (#1136)
Closes https://github.com/emilk/egui/issues/1135
This commit is contained in:
@@ -180,6 +180,8 @@ pub enum Event {
|
||||
/// The direction of the vector indicates how to move the _content_ that is being viewed.
|
||||
/// So if you get positive values, the content being viewed should move to the right and down,
|
||||
/// revealing new things to the left and up.
|
||||
///
|
||||
/// Shift-scroll should result in horizontal scrolling (it is up to the integrations to do this).
|
||||
Scroll(Vec2),
|
||||
|
||||
/// Zoom scale factor this frame (e.g. from ctrl-scroll or pinch gesture).
|
||||
|
||||
Reference in New Issue
Block a user