summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-06-12 22:57:10 +0200
committerGitHub <noreply@github.com>2019-06-12 22:57:10 +0200
commit1c35973b837d5bf0cb16176e922d505fe4baff51 (patch)
tree7bb9d12e8c93acac03630d25bd2235989b8934db
parent51ed803a1192adcfe8a48817928fd730f6889a6e (diff)
parent024d5958507814164bcf5c9794d8ae3763f05cf0 (diff)
Merge pull request #29592 from Lisapple/patch-3
Fixing returned alpha component for inverted method
-rw-r--r--doc/classes/Color.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Color.xml b/doc/classes/Color.xml
index ab5d7a0a5d..30e80fa512 100644
--- a/doc/classes/Color.xml
+++ b/doc/classes/Color.xml
@@ -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)