Fixing returned alpha component for inverted method

See `core/color.cpp:217`, alpha channel is not changed.

(cherry picked from commit 024d595850)
This commit is contained in:
Maxime Leroy 2019-06-08 01:44:25 +02:00 committed by Rémi Verschelde
parent d05f673669
commit 8947e9f438
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@
<return type="Color">
</return>
<description>
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)