From 27570987fde22503130bb8247298a854ab58021b Mon Sep 17 00:00:00 2001 From: Euclid Ye Date: Wed, 30 Apr 2025 05:11:27 +0800 Subject: [PATCH] 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 --- components/script/script_thread.rs | 3 +-- 1 file changed, 1 insertion(+), 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, - // 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>, }