mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 21:51:22 +00:00 
			
		
		
		
	Fix Theme Editor crash when clicking the element picker
This commit is contained in:
		
							parent
							
								
									ed02b8af59
								
							
						
					
					
						commit
						abd41dedb0
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -71,6 +71,9 @@ void ThemeEditorPreview::_preview_visibility_changed() { | |||
| 
 | ||||
| void ThemeEditorPreview::_picker_button_cbk() { | ||||
| 	picker_overlay->set_visible(picker_button->is_pressed()); | ||||
| 	if (picker_button->is_pressed()) { | ||||
| 		_reset_picker_overlay(); | ||||
| 	} | ||||
| } | ||||
| 
 | ||||
| Control *ThemeEditorPreview::_find_hovered_control(Control *p_parent, Vector2 p_mouse_position) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Haoyu Qiu
						Haoyu Qiu