From 0e52b249bf4c5812f29357a9e98492d1aaf358f0 Mon Sep 17 00:00:00 2001 From: matt <5974590+mattheson@users.noreply.github.com> Date: Sat, 24 Oct 2026 13:28:01 -0700 Subject: [PATCH] Fix comments on `PhysicalPosition` fields --- src/event.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/event.rs b/src/event.rs index 9ac7d0ce..eddf794b 100644 --- a/src/event.rs +++ b/src/event.rs @@ -39,7 +39,7 @@ pub enum ScrollDelta { pub enum MouseEvent { /// The mouse cursor was moved. CursorMoved { - /// The logical coordinates of the mouse position. + /// The physical coordinates of the mouse position. position: PhysicalPosition, /// The modifiers that were held down just before the event. modifiers: Modifiers, @@ -80,7 +80,7 @@ pub enum MouseEvent { CursorLeft, DragEntered { - /// The logical coordinates of the mouse position. + /// The physical coordinates of the mouse position. position: PhysicalPosition, /// The modifiers that were held down just before the event. modifiers: Modifiers, @@ -89,7 +89,7 @@ pub enum MouseEvent { }, DragMoved { - /// The logical coordinates of the mouse position. + /// The physical coordinates of the mouse position. position: PhysicalPosition, /// The modifiers that were held down just before the event. modifiers: Modifiers, @@ -100,7 +100,7 @@ pub enum MouseEvent { DragLeft, DragDropped { - /// The logical coordinates of the mouse position. + /// The physical coordinates of the mouse position. position: PhysicalPosition, /// The modifiers that were held down just before the event. modifiers: Modifiers,