From 99308d28d6644d104fcedb31f656c5edf6048618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Tue, 23 Jul 2019 12:24:24 +0200 Subject: [PATCH] Add `TODO` to mouse input conversion in `ggez` example --- examples/ggez/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ggez/main.rs b/examples/ggez/main.rs index 8f1393ab..4719418e 100644 --- a/examples/ggez/main.rs +++ b/examples/ggez/main.rs @@ -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` }, )); }