浏览代码

Merge pull request #2090 from corrigentia/patch-89

Tweak mouse_and_input_coordinates
Rémi Verschelde 6 年之前
父节点
当前提交
5434e4f25c
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tutorials/inputs/mouse_and_input_coordinates.rst

+ 3 - 3
tutorials/inputs/mouse_and_input_coordinates.rst

@@ -14,7 +14,7 @@ Hardware display coordinates
 ----------------------------
 ----------------------------
 
 
 Using hardware coordinates makes sense in the case of writing complex
 Using hardware coordinates makes sense in the case of writing complex
-UIs meant to run on PC, such as editors, MMOs, tools, etc. Yet, it does
+UIs meant to run on PC, such as editors, MMOs, tools, etc. However, it does
 not make as much sense outside of that scope.
 not make as much sense outside of that scope.
 
 
 Viewport display coordinates
 Viewport display coordinates
@@ -52,7 +52,7 @@ for example:
         GD.Print("Viewport Resolution is: ", GetViewPortRect().Size);
         GD.Print("Viewport Resolution is: ", GetViewPortRect().Size);
     }
     }
 
 
-Alternatively it's possible to ask the viewport for the mouse position:
+Alternatively, it's possible to ask the viewport for the mouse position:
 
 
 .. tabs::
 .. tabs::
  .. code-tab:: gdscript GDScript
  .. code-tab:: gdscript GDScript
@@ -61,4 +61,4 @@ Alternatively it's possible to ask the viewport for the mouse position:
 
 
  .. code-tab:: csharp
  .. code-tab:: csharp
 
 
-    GetViewport().GetMousePosition();
+    GetViewport().GetMousePosition();