From afc47f93d19cfbd90aae5f5708938ba4cd5642e5 Mon Sep 17 00:00:00 2001 From: Haoyu Qiu Date: Fri, 15 Mar 2024 16:42:33 +0800 Subject: [PATCH] Fix description of touch input position (cherry picked from commit 0ff396c981ae56c64535085a74c4f05497ebc69a) --- doc/classes/InputEventScreenDrag.xml | 2 +- doc/classes/InputEventScreenTouch.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/classes/InputEventScreenDrag.xml b/doc/classes/InputEventScreenDrag.xml index 0e0ed53cba5..4fde5fd426e 100644 --- a/doc/classes/InputEventScreenDrag.xml +++ b/doc/classes/InputEventScreenDrag.xml @@ -17,7 +17,7 @@ Returns [code]true[/code] when using the eraser end of a stylus pen. - The drag position. + The drag position in the viewport the node is in, using the coordinate system of this viewport. Represents the pressure the user puts on the pen. Ranges from [code]0.0[/code] to [code]1.0[/code]. diff --git a/doc/classes/InputEventScreenTouch.xml b/doc/classes/InputEventScreenTouch.xml index a9264f3953b..7478cf8194c 100644 --- a/doc/classes/InputEventScreenTouch.xml +++ b/doc/classes/InputEventScreenTouch.xml @@ -20,7 +20,7 @@ The touch index in the case of a multi-touch event. One index = one finger. - The touch position, in screen (global) coordinates. + The touch position in the viewport the node is in, using the coordinate system of this viewport. If [code]true[/code], the touch's state is pressed. If [code]false[/code], the touch's state is released.