mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	[Scene] Add SceneStringName::toggled
This commit is contained in:
		
							parent
							
								
									f648de1a83
								
							
						
					
					
						commit
						52889ab7ee
					
				
					 44 changed files with 74 additions and 72 deletions
				
			
		|  | @ -113,7 +113,7 @@ StyleBoxPreview::StyleBoxPreview() { | |||
| 	// This theme variation works better than the normal theme because there's no focus highlight.
 | ||||
| 	grid_preview->set_theme_type_variation("PreviewLightButton"); | ||||
| 	grid_preview->set_toggle_mode(true); | ||||
| 	grid_preview->connect("toggled", callable_mp(this, &StyleBoxPreview::_grid_preview_toggled)); | ||||
| 	grid_preview->connect(SceneStringName(toggled), callable_mp(this, &StyleBoxPreview::_grid_preview_toggled)); | ||||
| 	grid_preview->set_pressed(grid_preview_enabled); | ||||
| 	add_child(grid_preview); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Rubinsky
						Yuri Rubinsky