summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-07-23 12:24:24 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-07-23 12:24:24 +0200
commit99308d28d6644d104fcedb31f656c5edf6048618 (patch)
tree863f11c2cef39448cdcc045cf27eefbc0e5ef80f /examples
parent666e6761bcabf454d0a5d8c35a6fefc1e49a16aa (diff)
downloadiced-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.rs4
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`
},
));
}