mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Fix egui_web integration link in demo app
This commit is contained in:
@@ -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)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user