fixed error
This commit is contained in:
parent
846c46de85
commit
ecb7f0112d
|
@ -41,8 +41,8 @@ impl eframe::App for App {
|
|||
let seconds_since_midnight = duration_since_midnight.num_seconds() as f64;
|
||||
self.time = Local::now();
|
||||
ui.with_layout(egui::Layout::top_down_justified(egui::Align::Center), |ui| {
|
||||
ui.label(egui::RichText::new((seconds_since_midnight / 1000.0).to_string()).size(100).color(egui::Color32::WHITE));
|
||||
ui.label(egui::RichText::new(" kiloseconds since midnight").size(20).color(egui::Color32::WHITE));
|
||||
ui.label(egui::RichText::new((seconds_since_midnight / 1000.0).to_string()).size(100.0).color(egui::Color32::WHITE));
|
||||
ui.label(egui::RichText::new(" kiloseconds since midnight").size(20.0).color(egui::Color32::WHITE));
|
||||
});
|
||||
ui.ctx().request_repaint();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue