소스 검색

Fix wrong example output of float*Color in classref

Haoyu Qiu 2 년 전
부모
커밋
54f26c66ab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>