diff options
author | 2019-07-23 12:24:24 +0200 | |
---|---|---|
committer | 2019-07-23 12:24:24 +0200 | |
commit | 99308d28d6644d104fcedb31f656c5edf6048618 (patch) | |
tree | 863f11c2cef39448cdcc045cf27eefbc0e5ef80f /examples | |
parent | 666e6761bcabf454d0a5d8c35a6fefc1e49a16aa (diff) | |
download | iced-99308d28d6644d104fcedb31f656c5edf6048618.tar.gz iced-99308d28d6644d104fcedb31f656c5edf6048618.tar.bz2 iced-99308d28d6644d104fcedb31f656c5edf6048618.zip |
Add `TODO` to mouse input conversion in `ggez` example
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ggez/main.rs | 4 |
1 files 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` }, )); } |