From 8ed9fd009c8f72406be88a04579e785578df9d86 Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 18 May 2022 09:16:57 -0400 Subject: [PATCH] explicitly call Label::new --- src/math_app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math_app.rs b/src/math_app.rs index a84ba2a..dfb27b5 100644 --- a/src/math_app.rs +++ b/src/math_app.rs @@ -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));