Skip to content

Commit

Permalink
Merge pull request #80245 from timothyqiu/float-color-alpha
Browse files Browse the repository at this point in the history
Fix wrong example output of `float*Color` in classref
  • Loading branch information
akien-mga committed Aug 4, 2023
2 parents 8e0c898 + 54f26c6 commit bf29923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/float.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit bf29923

Please sign in to comment.