aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorEuclid Ye <yezhizhenjiakang@gmail.com>2025-04-30 05:11:27 +0800
committerGitHub <noreply@github.com>2025-04-29 21:11:27 +0000
commit27570987fde22503130bb8247298a854ab58021b (patch)
tree82f1f546fcc77e047b44b695d567bba10690f4af /components/script/script_thread.rs
parentec88b5d752e0ed4aed5fcea2620ca520f271fd99 (diff)
downloadservo-27570987fde22503130bb8247298a854ab58021b.tar.gz
servo-27570987fde22503130bb8247298a854ab58021b.zip
update doc for `ScriptThread::relative_mouse_down_point` (#36743)
update doc for `ScriptThread::relative_mouse_down_point` which was missing in #36619 Testing: No need as just updating docs Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index f78b5bf281b..9c93bef22df 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -331,8 +331,7 @@ pub struct ScriptThread {
#[no_trace]
layout_factory: Arc<dyn LayoutFactory>,
- // Mouse down point.
- // In future, this shall be mouse_down_point for primary button
+ /// The screen coordinates where the primary mouse button was pressed.
#[no_trace]
relative_mouse_down_point: Cell<Point2D<f32, DevicePixel>>,
}