Remove leftover code in selector module

This commit is contained in:
Héctor Ramón Jiménez 2025-08-27 10:55:34 +02:00
parent 7c1f193542
commit d7aab6c4ec
No known key found for this signature in database
GPG key ID: 4C07CEC81AFA161F

View file

@ -146,18 +146,3 @@ where
format!("custom selector: {}", std::any::type_name_of_val(self))
}
}
// pub fn inspect(position: Point) -> impl Selector<Output = (Match, Rectangle)> {
// visible(move |target: Target<'_>, visible_bounds: Rectangle| {
// visible_bounds
// .contains(position)
// .then(|| Match::from_target(target))
// })
// }
// pub fn visible<T>(
// f: impl Fn(Target<'_>, Rectangle) -> Option<T>,
// ) -> impl Selector<Output = (T, Rectangle)> {
// todo!()
// }
//