doc: link DeviceEvent::MouseMotion from cursor moved

This commit is contained in:
Philpax 2024-09-22 16:02:40 +02:00 committed by GitHub
parent 4f1c5b6129
commit 8ddd10a7f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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<f64>,
},