[Docs] Remove double-spaces from descriptions, as well a couple other small fixes
(cherry picked from commit eaac1e3b81
)
This commit is contained in:
parent
8cdcd45561
commit
5d7a22e6d9
|
@ -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 < 0:
|
||||
prints(i, fposmod(i, 10))
|
||||
i += 1
|
||||
|
|
|
@ -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 > 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 > 1.
|
||||
You can also create a color from standardised color names with [method @GDScript.ColorN].
|
||||
</description>
|
||||
<tutorials>
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue