mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Listen to scroll wheel (glium only)
This commit is contained in:
@@ -79,6 +79,7 @@
|
||||
return {
|
||||
mouse_down: g_mouse_down,
|
||||
mouse_pos: g_mouse_pos,
|
||||
// TODO: scroll_delta
|
||||
screen_size: { x: window.innerWidth, y: window.innerHeight },
|
||||
pixels_per_point: pixels_per_point(),
|
||||
time: window.performance.now() / 1000.0,
|
||||
|
||||
Reference in New Issue
Block a user