mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Update Node::get_configuration_warnings signature
This commit is contained in:
		
							parent
							
								
									bf37a9bac6
								
							
						
					
					
						commit
						d3852deaa4
					
				
					 132 changed files with 217 additions and 213 deletions
				
			
		|  | @ -228,9 +228,9 @@ void Control::get_argument_options(const StringName &p_function, int p_idx, List | |||
| 	} | ||||
| } | ||||
| 
 | ||||
| PackedStringArray Control::get_configuration_warnings() const { | ||||
| 	ERR_READ_THREAD_GUARD_V(PackedStringArray()); | ||||
| 	PackedStringArray warnings = Node::get_configuration_warnings(); | ||||
| Array Control::get_configuration_warnings() const { | ||||
| 	ERR_READ_THREAD_GUARD_V(Array()); | ||||
| 	Array warnings = Node::get_configuration_warnings(); | ||||
| 
 | ||||
| 	if (data.mouse_filter == MOUSE_FILTER_IGNORE && !data.tooltip.is_empty()) { | ||||
| 		warnings.push_back(RTR("The Hint Tooltip won't be displayed as the control's Mouse Filter is set to \"Ignore\". To solve this, set the Mouse Filter to \"Stop\" or \"Pass\".")); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 RedMser
						RedMser