diff --git a/crates/egui_plot/src/lib.rs b/crates/egui_plot/src/lib.rs index a46b7a225a5..6dec9d7276d 100644 --- a/crates/egui_plot/src/lib.rs +++ b/crates/egui_plot/src/lib.rs @@ -1666,7 +1666,7 @@ impl<'a> PreparedPlot<'a> { return (Vec::new(), None); } - let interact_radius_sq = (16.0_f32).powi(2); + let interact_radius_sq = ui.style().interaction.interact_radius.powi(2); let candidates = items .iter()