1
0
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:
MewPurPur
2024-06-28 23:53:30 +03:00
parent 04bf7d4cad
commit 0fa27fd001
3 changed files with 4 additions and 4 deletions

View File

@@ -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));