[Docs] Remove double-spaces from descriptions, as well a couple other small fixes

(cherry picked from commit eaac1e3b81)
This commit is contained in:
LikeLakers2 2018-09-22 17:50:45 -04:00 committed by Rémi Verschelde
parent 8cdcd45561
commit 5d7a22e6d9
17 changed files with 29 additions and 29 deletions

View File

@ -373,7 +373,7 @@
<description>
Returns the floating-point remainder of [code]x/y[/code] that wraps equally in positive and negative.
[codeblock]
var i = -10;
var i = -10
while i &lt; 0:
prints(i, fposmod(i, 10))
i += 1

View File

@ -4,7 +4,7 @@
Color in RGBA format with some support for ARGB format.
</brief_description>
<description>
A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate(color)) may accept values &gt; 1.
A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as [member CanvasItem.modulate]) may accept values &gt; 1.
You can also create a color from standardised color names with [method @GDScript.ColorN].
</description>
<tutorials>

View File

@ -74,7 +74,7 @@
<argument index="1" name="texture" type="Texture">
</argument>
<description>
Sets the [Texture] of the piece with index "idx" to "ofs".
Sets the [Texture] of the piece with index "idx" to "texture".
</description>
</method>
<method name="set_size">