summaryrefslogtreecommitdiffstats
path: root/core/variant_call.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2020-11-03 00:21:06 +0100
committerAaron Franke <arnfranke@yahoo.com>2020-11-03 04:46:08 -0500
commit7adb6b91b33e297b4833ef5f82adcf64a15777f4 (patch)
tree8a47d75e5a7ea66f1b5deec162408887090cdd11 /core/variant_call.cpp
parent873d4617852cddfd368e3046f718f410eade6a3e (diff)
downloadredot-engine-7adb6b91b33e297b4833ef5f82adcf64a15777f4.tar.gz
Remove `Color.contrasted()` as its behavior is barely useful
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
Diffstat (limited to 'core/variant_call.cpp')
-rw-r--r--core/variant_call.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/variant_call.cpp b/core/variant_call.cpp
index 6ffefccb67..182c475800 100644
--- a/core/variant_call.cpp
+++ b/core/variant_call.cpp
@@ -1614,7 +1614,6 @@ void register_variant_methods() {
bind_method(Color, to_rgba64, sarray(), varray());
bind_method(Color, inverted, sarray(), varray());
- bind_method(Color, contrasted, sarray(), varray());
bind_method(Color, lerp, sarray("b", "t"), varray());
bind_method(Color, lightened, sarray("amount"), varray());
bind_method(Color, darkened, sarray("amount"), varray());