mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	EditorNode: Ignore unhandled input if there is a dialog visible
This commit is contained in:
		
							parent
							
								
									d1bb868a19
								
							
						
					
					
						commit
						88fd782060
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -164,7 +164,7 @@ void EditorNode::_update_title() { | |||
| 
 | ||||
| void EditorNode::_unhandled_input(const InputEvent& p_event) { | ||||
| 
 | ||||
| 	if (p_event.type==InputEvent::KEY && p_event.key.pressed && !p_event.key.echo) { | ||||
| 	if (p_event.type==InputEvent::KEY && p_event.key.pressed && !p_event.key.echo && !gui_base->get_viewport()->gui_has_modal_stack()) { | ||||
| 
 | ||||
| 		switch(p_event.key.scancode) { | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ignacio Etcheverry
						Ignacio Etcheverry