mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Avoid project manager from processing gamepad input
This commit is contained in:
		
							parent
							
								
									9e9e4f96a2
								
							
						
					
					
						commit
						fd59d17b22
					
				
					 2 changed files with 8 additions and 0 deletions
				
			
		|  | @ -348,6 +348,13 @@ struct ProjectItem { | |||
| 	_FORCE_INLINE_ bool operator ==(const ProjectItem& l) const { return project==l.project; } | ||||
| }; | ||||
| 
 | ||||
| void ProjectManager::_notification(int p_what) { | ||||
| 
 | ||||
| 	if (p_what==NOTIFICATION_ENTER_TREE) { | ||||
| 
 | ||||
| 		get_tree()->set_editor_hint(true); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| void ProjectManager::_panel_draw(Node *p_hb) { | ||||
| 
 | ||||
|  |  | |||
|  | @ -85,6 +85,7 @@ class ProjectManager : public Control { | |||
| 
 | ||||
| protected: | ||||
| 
 | ||||
| 	void _notification(int p_what); | ||||
| 	static void _bind_methods(); | ||||
| public: | ||||
| 	ProjectManager(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Franklin Sobrinho
						Franklin Sobrinho