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 {
eprintln!("{:?}", event);
eprintln!("{:?}", self.req_size());
// eprintln!("{:?}", event);
// eprintln!("{:?}", self.req_size());
match event {
// 10 is the ascii code for '\n', that is the return key
Event::Key(Key::Enter) => {

View File

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