mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
[example_web] Fix link to own source code
This commit is contained in:
Binary file not shown.
@@ -45,8 +45,10 @@ impl egui::app::App for ExampleApp {
|
||||
trigger_fetch = true;
|
||||
}
|
||||
if ui.button("Source code for this file").clicked {
|
||||
self.url =
|
||||
format!("https://raw.githubusercontent.com/emilk/egui/{}", file!());
|
||||
self.url = format!(
|
||||
"https://raw.githubusercontent.com/emilk/egui/master/{}",
|
||||
file!()
|
||||
);
|
||||
trigger_fetch = true;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user