瀏覽代碼

Merge pull request #56499 from Calinou/doc-canvasitem-fix-missing-period

Fix missing period in `CanvasItem.draw_primitive()` description
Max Hilbrunner 3 年之前
父節點
當前提交
236f4681c9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/classes/CanvasItem.xml

+ 1 - 1
doc/classes/CanvasItem.xml

@@ -201,7 +201,7 @@
 			<argument index="3" name="texture" type="Texture2D" default="null" />
 			<argument index="4" name="width" type="float" default="1.0" />
 			<description>
-				Draws a custom primitive. 1 point for a point, 2 points for a line, 3 points for a triangle, and 4 points for a quad. If 0 points or more than 4 points are specified, nothing will be drawn and an error message will be printed. See also [method draw_line], [method draw_polyline], [method draw_polygon], [method draw_rect]
+				Draws a custom primitive. 1 point for a point, 2 points for a line, 3 points for a triangle, and 4 points for a quad. If 0 points or more than 4 points are specified, nothing will be drawn and an error message will be printed. See also [method draw_line], [method draw_polyline], [method draw_polygon], and [method draw_rect].
 			</description>
 		</method>
 		<method name="draw_rect">