mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 06:11:30 +11:00
android: updated for rust 5484d6f6d 2014-12-02 00:22:00 +0000
This commit is contained in:
parent
c6f5b4a107
commit
b28273de04
|
@ -222,13 +222,13 @@ impl Window {
|
|||
loop {
|
||||
match self.event_rx.try_recv() {
|
||||
Ok(event) => match event {
|
||||
android_glue::EventDown => {
|
||||
android_glue::Event::EventDown => {
|
||||
events.push(MouseInput(Pressed, LeftMouseButton));
|
||||
},
|
||||
android_glue::EventUp => {
|
||||
android_glue::Event::EventUp => {
|
||||
events.push(MouseInput(Released, LeftMouseButton));
|
||||
},
|
||||
android_glue::EventMove(x, y) => {
|
||||
android_glue::Event::EventMove(x, y) => {
|
||||
events.push(MouseMoved((x as int, y as int)));
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue