diff --git a/src/reader.rs b/src/reader.rs index 48f7afb..9357b65 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -440,12 +440,6 @@ egui::ComboBox::from_id_salt("bg_type_selector") "1/1".to_string() }; ui.label(label); - let mut progress = if total_pages > 0 { - *current_page as f32 / total_pages as f32 - } else { 0.0 }; - if ui.add(egui::Slider::new(&mut progress, 0.0..=1.0).text("")).changed() && total_pages > 0 { - *current_page = (progress * total_pages as f32).round() as usize; - } }); }); });