mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	[Scene] Add SceneStringName::toggled
This commit is contained in:
		
							parent
							
								
									f648de1a83
								
							
						
					
					
						commit
						52889ab7ee
					
				
					 44 changed files with 74 additions and 72 deletions
				
			
		|  | @ -290,7 +290,7 @@ GradientTexture2DEditor::GradientTexture2DEditor() { | |||
| 	snap_button->set_tooltip_text(TTR("Toggle Grid Snap")); | ||||
| 	snap_button->set_toggle_mode(true); | ||||
| 	toolbar->add_child(snap_button); | ||||
| 	snap_button->connect("toggled", callable_mp(this, &GradientTexture2DEditor::_set_snap_enabled)); | ||||
| 	snap_button->connect(SceneStringName(toggled), callable_mp(this, &GradientTexture2DEditor::_set_snap_enabled)); | ||||
| 
 | ||||
| 	snap_count_edit = memnew(EditorSpinSlider); | ||||
| 	snap_count_edit->set_min(2); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Yuri Rubinsky
						Yuri Rubinsky