mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
@@ -105,7 +105,10 @@ macro_rules! __egui_github_link_file {
|
||||
crate::__egui_github_link_file!("(source code)")
|
||||
};
|
||||
($label: expr) => {
|
||||
egui::github_link_file!("https://github.com/emilk/egui/blob/master/", $label).small()
|
||||
egui::github_link_file!(
|
||||
"https://github.com/emilk/egui/blob/master/",
|
||||
egui::RichText::new($label).small()
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
@@ -117,7 +120,10 @@ macro_rules! __egui_github_link_file_line {
|
||||
crate::__egui_github_link_file_line!("(source code)")
|
||||
};
|
||||
($label: expr) => {
|
||||
egui::github_link_file_line!("https://github.com/emilk/egui/blob/master/", $label).small()
|
||||
egui::github_link_file_line!(
|
||||
"https://github.com/emilk/egui/blob/master/",
|
||||
egui::RichText::new($label).small()
|
||||
)
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user