Parcourir la source

Fix wrong example output of float*Color in classref

(cherry picked from commit 54f26c66ab9c5edf2f61867312cdaa79b9795af1)
Haoyu Qiu il y a 2 ans
Parent
commit
06f6ef8fca
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      doc/classes/float.xml

+ 1 - 1
doc/classes/float.xml

@@ -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>