mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	Changes to FileSystem Dock
-Replaced buttons for file actions fo RMB menu -Added a split mode, if the dock is not sharing vertical space with anything else -imroved drag and drop support
This commit is contained in:
		
							parent
							
								
									bed3efb17e
								
							
						
					
					
						commit
						8b47e26f59
					
				
					 5 changed files with 564 additions and 276 deletions
				
			
		|  | @ -2057,8 +2057,9 @@ void EditorNode::_menu_option_confirm(int p_option,bool p_confirmed) { | |||
| 		case FILE_QUICK_OPEN_FILE: { | ||||
| 
 | ||||
| 
 | ||||
| 			quick_open->popup("Resource", false, true); | ||||
| 			quick_open->set_title(TTR("Quick Search File..")); | ||||
| 			//quick_open->popup("Resource", false, true);
 | ||||
| 			//quick_open->set_title(TTR("Quick Search File.."));
 | ||||
| 			scenes_dock->focus_on_filter(); | ||||
| 
 | ||||
| 		} break; | ||||
| 		case FILE_RUN_SCRIPT: { | ||||
|  | @ -3942,12 +3943,6 @@ void EditorNode::_update_recent_scenes() { | |||
| 
 | ||||
| void EditorNode::_quick_opened() { | ||||
| 
 | ||||
| 	if (current_option==FILE_QUICK_OPEN_FILE) { | ||||
| 		String res_path = quick_open->get_selected(); | ||||
| 
 | ||||
| 		scenes_dock->open(res_path); | ||||
| 		return; | ||||
| 	} | ||||
| 
 | ||||
| 	Vector<String> files = quick_open->get_selected_files(); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Juan Linietsky
						Juan Linietsky