explicitly call Label::new

This commit is contained in:
Simon Gardling 2022-05-18 09:16:57 -04:00
parent ce051b4026
commit 8ed9fd009c

View File

@ -508,7 +508,7 @@ impl App for MathApp {
.resizable(false)
.collapsible(false)
.show(ctx, |ui| {
ui.label(&*BUILD_INFO);
ui.add(egui::Label::new(&*BUILD_INFO));
if let Some(took) = self.last_info.1 {
ui.label(format!("Took: {:?}", took));