Fix egui_web integration link in demo app
This commit is contained in:
parent
89700dfbbb
commit
8896243146
4 changed files with 6 additions and 3 deletions
|
@ -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),
|
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 => {
|
name => {
|
||||||
ui.label(name);
|
ui.label(name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,7 +108,7 @@ impl crate::Painter for WrappedGlowPainter {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn name(&self) -> &'static str {
|
fn name(&self) -> &'static str {
|
||||||
"egui_web(glow)"
|
"egui_web (glow)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -540,7 +540,7 @@ impl crate::Painter for WebGlPainter {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn name(&self) -> &'static str {
|
fn name(&self) -> &'static str {
|
||||||
"egui_web(webgl1)"
|
"egui_web (WebGL1)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -518,7 +518,7 @@ impl crate::Painter for WebGl2Painter {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn name(&self) -> &'static str {
|
fn name(&self) -> &'static str {
|
||||||
"egui_web(webgl2)"
|
"egui_web (WebGL2)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue