From f34afb5cfb173e145d425445c72afcc05bdeb564 Mon Sep 17 00:00:00 2001 From: TPhoenix <45964506+TPhoenixyz@users.noreply.github.com> Date: Sun, 13 Sep 2026 17:27:51 +0200 Subject: [PATCH] fix typo in code description Default pan pointer button is Primary, but description said Secondary. --- egui_plot/src/plot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egui_plot/src/plot.rs b/egui_plot/src/plot.rs index b7687e32..493fb58c 100644 --- a/egui_plot/src/plot.rs +++ b/egui_plot/src/plot.rs @@ -354,7 +354,7 @@ impl<'a> Plot<'a> { } /// Config the button pointer to use for drag-to-pan. Default: - /// [`Secondary`](PointerButton::Primary) + /// [`Primary`](PointerButton::Primary) #[inline] pub fn pan_pointer_button(mut self, pan_pointer_button: PointerButton) -> Self { self.pan_pointer_button = pan_pointer_button;