Skip to content

Commit

Permalink
Remove unused btn state
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyMeilex committed Jan 29, 2021
1 parent c856f22 commit fe20ff9
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/scene/menu_scene/iced_menu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ pub struct IcedMenu {
pub carousel: Carousel,

controls: Controls,

play_button: neo_btn::State,
}

#[derive(Debug, Clone)]
Expand Down Expand Up @@ -68,8 +66,6 @@ impl IcedMenu {
carousel,

controls: Controls::SongSelect(SongSelectControls::new()),

play_button: Default::default(),
}
}
}
Expand All @@ -90,18 +86,6 @@ impl Program for IcedMenu {
{
Response::Okay(path) => {
log::info!("File path = {:?}", path);
// let midi = lib_midi::Midi::new(path.to_str().unwrap());

// if let Err(e) = &midi {
// log::error!("{}", e);
// }

// self.midi_file = if let Ok(midi) = midi {
// Some(midi)
// } else {
// None
// };
//

return Command::from(async { Message::OutputFileSelected(path) });
}
Expand Down

0 comments on commit fe20ff9

Please sign in to comment.