ui: remove reading progress slider from bottom panel

This commit is contained in:
Developer
2026-05-24 07:34:28 +08:00
parent 00ea81137b
commit f95d1c418f

View File

@@ -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;
}
});
});
});