Skip to content

Commit

Permalink
Add current comparison label
Browse files Browse the repository at this point in the history
  • Loading branch information
dagit committed Jun 14, 2023
1 parent 4ab7b85 commit 74ff087
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,14 @@ void main() {
}
});
ui.separator();
ui.add(
egui::widgets::Label::new(format!(
"Comparison: {}",
self.timer.read().unwrap().current_comparison()
))
.wrap(false),
);
ui.separator();
if ui.button("Quit").clicked() {
frame.close();
}
Expand Down

0 comments on commit 74ff087

Please sign in to comment.