diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d2de2a..3f9b8bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated `eframe` dependency to `0.16` - Updated `simple_logger` dependency to `2.1`. Now using UTC timestamps. +### Removed + +- Rescan button. Device changes are now detected automatically. + ## [1.0.0] - 2021-10-31 First stable release. diff --git a/src/main.rs b/src/main.rs index a80e4a7..d70eedc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -577,7 +577,7 @@ pub fn device_selection( ui.set_enabled(!device_list.is_empty()); let combo_box = egui::ComboBox::from_id_source("device_list") - .width(ui.available_width() - 100.0) + .width(ui.available_width() - 10.0) .show_index(ui, &mut device_index, device_list.len(), |i| { if device_count > 0 { device_list[i].clone() @@ -597,16 +597,6 @@ pub fn device_selection( } }; }); - - ui.centered_and_justified(|ui| { - if ui - .button("Rescan") - .on_hover_text("Search for new MIDI devices\n and update device list") - .clicked() - { - message_sender.send(Message::RescanDevices).ok(); - }; - }); }); }