From 024d5958507814164bcf5c9794d8ae3763f05cf0 Mon Sep 17 00:00:00 2001 From: Maxime Leroy Date: Sat, 8 Jun 2019 01:44:25 +0200 Subject: [PATCH] Fixing returned alpha component for inverted method See `core/color.cpp:217`, alpha channel is not changed. --- doc/classes/Color.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml index ab5d7a0a5d8..30e80fa5128 100644 --- a/doc/classes/Color.xml +++ b/doc/classes/Color.xml @@ -144,7 +144,7 @@ - Returns the inverted color [code](1 - r, 1 - g, 1 - b, 1 - a)[/code]. + Returns the inverted color [code](1 - r, 1 - g, 1 - b, a)[/code]. [codeblock] var c = Color(0.3, 0.4, 0.9) var inverted_color = c.inverted() # a color of an RGBA(178, 153, 26, 255)