From 8ddd10a7f9b7dd58b909a2dd82b82320feba1cda Mon Sep 17 00:00:00 2001 From: Philpax Date: Sun, 22 Sep 2024 16:02:40 +0200 Subject: [PATCH] doc: link `DeviceEvent::MouseMotion` from cursor moved --- src/event.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/event.rs b/src/event.rs index 223992db..709a2bf6 100644 --- a/src/event.rs +++ b/src/event.rs @@ -241,7 +241,8 @@ pub enum WindowEvent { /// (x,y) coords in pixels relative to the top-left corner of the window. Because the range /// of this data is limited by the display area and it may have been transformed by /// the OS to implement effects such as cursor acceleration, it should not be used - /// to implement non-cursor-like interactions such as 3D camera control. + /// to implement non-cursor-like interactions such as 3D camera control. For that, + /// consider [`DeviceEvent::MouseMotion`]. position: PhysicalPosition, },