diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2020-11-03 00:21:06 +0100 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-11-03 04:46:08 -0500 |
commit | 7adb6b91b33e297b4833ef5f82adcf64a15777f4 (patch) | |
tree | 8a47d75e5a7ea66f1b5deec162408887090cdd11 /core/variant_call.cpp | |
parent | 873d4617852cddfd368e3046f718f410eade6a3e (diff) | |
download | redot-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.cpp | 1 |
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()); |