You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
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.
This commit is contained in:
committed by
Aaron Franke
parent
873d461785
commit
7adb6b91b3
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user