summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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`
},
));
}