Merge pull request #80245 from timothyqiu/float-color-alpha

Fix wrong example output of `float*Color` in classref
This commit is contained in:
Rémi Verschelde 2023-08-04 16:59:31 +02:00
commit bf299233bc
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -70,7 +70,7 @@
<description>
Multiplies each component of the [Color], including the alpha, by the given [float].
[codeblock]
print(1.5 * Color(0.5, 0.5, 0.5)) # Color(0.75, 0.75, 0.75)
print(1.5 * Color(0.5, 0.5, 0.5)) # Prints "(0.75, 0.75, 0.75, 1.5)"
[/codeblock]
</description>
</operator>