Add `TODO` to mouse input conversion in `ggez` example

This commit is contained in:
Héctor Ramón Jiménez 2019-07-23 12:24:24 +02:00
parent 666e6761bc
commit 99308d28d6
1 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ impl event::EventHandler for Game {
self.runtime.on_event(iced::Event::Mouse(
iced::input::mouse::Event::Input {
state: iced::input::ButtonState::Pressed,
button: iced::input::mouse::Button::Left,
button: iced::input::mouse::Button::Left, // TODO: Map `button`
},
));
}
@ -74,7 +74,7 @@ impl event::EventHandler for Game {
self.runtime.on_event(iced::Event::Mouse(
iced::input::mouse::Event::Input {
state: iced::input::ButtonState::Released,
button: iced::input::mouse::Button::Left,
button: iced::input::mouse::Button::Left, // TODO: Map `button`
},
));
}