show git commit hash as monospace
This commit is contained in:
+3
-1
@@ -243,7 +243,9 @@ impl App {
|
||||
ui.label("(dev)");
|
||||
}
|
||||
ui.label(format!("v{}", env!("CARGO_PKG_VERSION")))
|
||||
.on_hover_text(env!("LATEST_GIT_COMMIT_HASH"));
|
||||
.on_hover_text(
|
||||
egui::RichText::new(env!("LATEST_GIT_COMMIT_HASH")).monospace(),
|
||||
);
|
||||
});
|
||||
});
|
||||
ui.add(egui::Image::new(egui::include_image!(
|
||||
|
||||
Reference in New Issue
Block a user