explicitly call Label::new
This commit is contained in:
parent
ce051b4026
commit
8ed9fd009c
@ -508,7 +508,7 @@ impl App for MathApp {
|
|||||||
.resizable(false)
|
.resizable(false)
|
||||||
.collapsible(false)
|
.collapsible(false)
|
||||||
.show(ctx, |ui| {
|
.show(ctx, |ui| {
|
||||||
ui.label(&*BUILD_INFO);
|
ui.add(egui::Label::new(&*BUILD_INFO));
|
||||||
|
|
||||||
if let Some(took) = self.last_info.1 {
|
if let Some(took) = self.last_info.1 {
|
||||||
ui.label(format!("Took: {:?}", took));
|
ui.label(format!("Took: {:?}", took));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user