mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
		
							parent
							
								
									28a4eec9a7
								
							
						
					
					
						commit
						e48c5daddf
					
				
					 113 changed files with 528 additions and 528 deletions
				
			
		|  | @ -111,7 +111,7 @@ void EditorResourcePicker::_update_resource_preview(const String &p_path, const | |||
| 				assign_button->set_custom_minimum_size(assign_button_min_size); | ||||
| 			} else { | ||||
| 				preview_rect->set_stretch_mode(TextureRect::STRETCH_KEEP_ASPECT_CENTERED); | ||||
| 				int thumbnail_size = EditorSettings::get_singleton()->get("filesystem/file_dialog/thumbnail_size"); | ||||
| 				int thumbnail_size = EDITOR_GET("filesystem/file_dialog/thumbnail_size"); | ||||
| 				thumbnail_size *= EDSCALE; | ||||
| 				assign_button->set_custom_minimum_size(Size2(MAX(1, assign_button_min_size.x), MAX(thumbnail_size, assign_button_min_size.y))); | ||||
| 			} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi