mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-03 23:21:15 +00:00 
			
		
		
		
	fixed loading old theme styleboxes
This commit is contained in:
		
							parent
							
								
									f79a5c464b
								
							
						
					
					
						commit
						f035e4a24a
					
				
					 8 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -360,7 +360,7 @@ SampleEditor::SampleEditor() {
 | 
			
		|||
 | 
			
		||||
	player = memnew(SamplePlayer);
 | 
			
		||||
	add_child(player);
 | 
			
		||||
	add_style_override("panel", get_stylebox("panel","Panel"));
 | 
			
		||||
	add_style_override("panel", EditorNode::get_singleton()->get_gui_base()->get_stylebox("panel","Panel"));
 | 
			
		||||
	library = Ref<SampleLibrary>(memnew(SampleLibrary));
 | 
			
		||||
	player->set_sample_library(library);
 | 
			
		||||
	sample_texframe = memnew( TextureRect );
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue