You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix unnecessary overbright modulates used in a few editors
This commit is contained in:
@@ -213,7 +213,7 @@ void GradientTexture2DEdit::_draw() {
|
||||
}
|
||||
|
||||
// Draw handles.
|
||||
const Color focus_modulate = Color(0.5, 1, 2);
|
||||
const Color focus_modulate = Color(0.4, 1, 1);
|
||||
bool modulate_handle_from = grabbed == HANDLE_FROM || hovered == HANDLE_FROM;
|
||||
bool modulate_handle_to = grabbed == HANDLE_TO || hovered == HANDLE_TO;
|
||||
draw_texture(fill_from_icon, (_get_handle_pos(HANDLE_FROM) - handle_size / 2).round(), modulate_handle_from ? focus_modulate : Color(1, 1, 1));
|
||||
|
||||
Reference in New Issue
Block a user