summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Leroy <lisacintosh@gmail.com>2019-06-08 01:44:25 +0200
committerGitHub <noreply@github.com>2019-06-08 01:44:25 +0200
commit024d5958507814164bcf5c9794d8ae3763f05cf0 (patch)
tree8a4b01f27a0f516800ff6ce97689715d15bea316 /doc
parent693582f00837bb4ce4fb3ce91d2366ee359eecf4 (diff)
Fixing returned alpha component for inverted method
See `core/color.cpp:217`, alpha channel is not changed.
Diffstat (limited to 'doc')
-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)