Merge pull request #29592 from Lisapple/patch-3

Fixing returned alpha component for inverted method
This commit is contained in:
Rémi Verschelde 2019-06-12 22:57:10 +02:00 committed by GitHub
commit 1c35973b83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)