Remove eprintln debug lines

This commit is contained in:
Alexandre Bury 2017-10-11 15:08:19 -07:00
parent f3528088cd
commit 2932b9de50
2 changed files with 3 additions and 3 deletions

View File

@ -110,8 +110,8 @@ impl View for Button {
} }
fn on_event(&mut self, event: Event) -> EventResult { fn on_event(&mut self, event: Event) -> EventResult {
eprintln!("{:?}", event); // eprintln!("{:?}", event);
eprintln!("{:?}", self.req_size()); // eprintln!("{:?}", self.req_size());
match event { match event {
// 10 is the ascii code for '\n', that is the return key // 10 is the ascii code for '\n', that is the return key
Event::Key(Key::Enter) => { Event::Key(Key::Enter) => {

View File

@ -375,7 +375,7 @@ impl Dialog {
Some(pos) => pos, Some(pos) => pos,
}; };
eprintln!("Rel pos: {:?}", position); // eprintln!("Rel pos: {:?}", position);
// Now that we have a relative position, checks for buttons? // Now that we have a relative position, checks for buttons?
if let Some(i) = self.buttons.iter().position(|btn| { if let Some(i) = self.buttons.iter().position(|btn| {