fn on_drag_loop_selection(
    ui: &Ui,
    time_ranges_ui: &TimeRangesUi,
    selected_range: &mut ResolvedTimeRangeF
) -> Option<()>