1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Fix error in Response::dragged docs (#5143)

* [x] I have followed the instructions in the PR template
This commit is contained in:
GiGaGon
2024-09-21 03:48:29 -07:00
committed by GitHub
parent 06f709481a
commit 02e795277f

View File

@@ -343,7 +343,7 @@ impl Response {
/// To find out which button(s), use [`Self::dragged_by`]. /// To find out which button(s), use [`Self::dragged_by`].
/// ///
/// If the widget is only sensitive to drags, this is `true` as soon as the pointer presses down on it. /// If the widget is only sensitive to drags, this is `true` as soon as the pointer presses down on it.
/// If the widget is also sensitive to drags, this won't be true until the pointer has moved a bit, /// If the widget also senses clicks, this won't be true until the pointer has moved a bit,
/// or the user has pressed down for long enough. /// or the user has pressed down for long enough.
/// See [`crate::input_state::PointerState::is_decidedly_dragging`] for details. /// See [`crate::input_state::PointerState::is_decidedly_dragging`] for details.
/// ///