re_component_ui 0.31.1

Provides ui editors for Rerun component data for registration with the Rerun Viewer component ui registry.
Documentation
1
2
3
4
5
6
7
8
9
10
11
/// Forwards the changed state from the inner response to the outer response and returns it.
pub fn response_with_changes_of_inner(
    mut inner_response: egui::InnerResponse<Option<egui::Response>>,
) -> egui::Response {
    if let Some(inner) = inner_response.inner
        && inner.changed()
    {
        inner_response.response.mark_changed();
    }
    inner_response.response
}