mirror of
https://github.com/FliegendeWurst/cursive.git
synced 2024-11-27 11:16:03 +00:00
Remove eprintln debug lines
This commit is contained in:
parent
f3528088cd
commit
2932b9de50
@ -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) => {
|
||||
|
@ -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| {
|
||||
|
Loading…
Reference in New Issue
Block a user