re_viewer::app_state

Function check_for_clicked_hyperlinks

Source
fn check_for_clicked_hyperlinks(ctx: &ViewerContext<'_>)
Expand description

We allow linking to entities and components via hyperlinks, e.g. in embedded markdown. We also have a custom rerun:// scheme to be handled by the viewer.

Detect and handle that here.

Must run after any ui code, or other code that tells egui to open an url.

See re_ui::UiExt::re_hyperlink for displaying hyperlinks in the UI.