pub fn floating_panel<R>( ctx: &Context, id: &str, title: &str, open: &mut bool, content: impl FnOnce(&mut Ui) -> R, ) -> Option<R>