diff --git a/crates/egui_plot/src/lib.rs b/crates/egui_plot/src/lib.rs index 708c2212899..b1c9918a8d0 100644 --- a/crates/egui_plot/src/lib.rs +++ b/crates/egui_plot/src/lib.rs @@ -839,7 +839,7 @@ impl Plot { } // Allocate the plot window. - let response = ui.allocate_rect(plot_rect, Sense::drag()); + let response = ui.allocate_rect(plot_rect, Sense::click_and_drag()); let rect = plot_rect; // Load or initialize the memory.