浏览代码

Fix doc typo

Leonardo Jeanteur 1 年之前
父节点
当前提交
0dc5200236
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      h2d/Graphics.hx

+ 1 - 1
h2d/Graphics.hx

@@ -466,7 +466,7 @@ class Graphics extends Drawable {
 		Position a virtual tile at the given position and scale. Every draw will display a part of this tile relative
 		to these coordinates.
 
-		Note that in by default, Tile is not wrapped, and in order to render tiling texture, `Drawable.tileWrap` have to be set.
+		Note that in by default, Tile is not wrapped, and in order to render a tiling texture, `Drawable.tileWrap` has to be set.
 		Additionally, both `Tile.dx` and `Tile.dy` are ignored (use `dx`/`dy` arguments instead)
 		as well as tile defined size of the tile through `Tile.width` and `Tile.height` (use `scaleX`/`scaleY` relative to texture size).