mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fix unnecessary overbright modulates used in a few editors
This commit is contained in:
		
							parent
							
								
									04bf7d4cad
								
							
						
					
					
						commit
						0fa27fd001
					
				
					 3 changed files with 4 additions and 4 deletions
				
			
		|  | @ -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)); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 MewPurPur
						MewPurPur