mirror of
https://github.com/encounter/objdiff.git
synced 2025-12-17 00:47:12 +00:00
Job state handling cleanup
This commit is contained in:
@@ -212,7 +212,7 @@ pub fn data_diff_ui(ui: &mut egui::Ui, view_state: &mut ViewState) -> bool {
|
||||
ui.scope(|ui| {
|
||||
ui.style_mut().override_text_style = Some(egui::TextStyle::Monospace);
|
||||
ui.style_mut().wrap = Some(false);
|
||||
if view_state.jobs.iter().any(|job| job.job_type == Job::ObjDiff) {
|
||||
if view_state.jobs.is_running(Job::ObjDiff) {
|
||||
ui.colored_label(view_state.view_config.replace_color, "Building…");
|
||||
} else {
|
||||
ui.label("Last built:");
|
||||
|
||||
Reference in New Issue
Block a user