Fix egui_web integration link in demo app

This commit is contained in:
Emil Ernerfeldt 2021-11-13 13:14:39 +01:00
parent 89700dfbbb
commit 8896243146
4 changed files with 6 additions and 3 deletions

View file

@ -270,6 +270,9 @@ fn show_integration_name(ui: &mut egui::Ui, integration_info: &epi::IntegrationI
format!("https://github.com/emilk/egui/tree/master/{}", name),
);
}
name if name.starts_with("egui_web") => {
ui.hyperlink_to(name, "https://github.com/emilk/egui/tree/master/egui_web");
}
name => {
ui.label(name);
}

View file

@ -108,7 +108,7 @@ impl crate::Painter for WrappedGlowPainter {
}
fn name(&self) -> &'static str {
"egui_web(glow)"
"egui_web (glow)"
}
}

View file

@ -540,7 +540,7 @@ impl crate::Painter for WebGlPainter {
}
fn name(&self) -> &'static str {
"egui_web(webgl1)"
"egui_web (WebGL1)"
}
}

View file

@ -518,7 +518,7 @@ impl crate::Painter for WebGl2Painter {
}
fn name(&self) -> &'static str {
"egui_web(webgl2)"
"egui_web (WebGL2)"
}
}