浏览代码

Update canvas_layers.rst

corrigentia 6 年之前
父节点
当前提交
af86790157
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      tutorials/2d/canvas_layers.rst

+ 2 - 2
tutorials/2d/canvas_layers.rst

@@ -13,14 +13,14 @@ nodes. CanvasItems can be arranged in trees and they will inherit
 their transform. This means that when moving the parent, the children
 their transform. This means that when moving the parent, the children
 will be moved too.
 will be moved too.
 
 
-These nodes are placed as direct or indirect children to a
+These nodes are placed as direct or indirect children of a
 :ref:`Viewport <class_Viewport>`, and will be displayed through it.
 :ref:`Viewport <class_Viewport>`, and will be displayed through it.
 
 
 Viewport has the property
 Viewport has the property
 :ref:`Viewport.canvas_transform <class_Viewport_canvas_transform>`,
 :ref:`Viewport.canvas_transform <class_Viewport_canvas_transform>`,
 which allows to transform all the CanvasItem hierarchy by a custom
 which allows to transform all the CanvasItem hierarchy by a custom
 :ref:`Transform2D <class_Transform2D>` transform. Nodes such as
 :ref:`Transform2D <class_Transform2D>` transform. Nodes such as
-:ref:`Camera2D <class_Camera2D>`, work by changing that transform.
+:ref:`Camera2D <class_Camera2D>` work by changing that transform.
 
 
 Changing the canvas transform is useful because it is a lot more
 Changing the canvas transform is useful because it is a lot more
 efficient than moving the root canvas item (and hence the whole scene).
 efficient than moving the root canvas item (and hence the whole scene).