mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Use check_changed_settings_in_group() everywhere
This commit is contained in:
		
							parent
							
								
									0246230e2b
								
							
						
					
					
						commit
						a031911c82
					
				
					 36 changed files with 213 additions and 69 deletions
				
			
		|  | @ -118,8 +118,13 @@ void CurveEdit::_notification(int p_what) { | |||
| 				queue_redraw(); | ||||
| 			} | ||||
| 		} break; | ||||
| 		case NOTIFICATION_THEME_CHANGED: | ||||
| 		case EditorSettings::NOTIFICATION_EDITOR_SETTINGS_CHANGED: { | ||||
| 			if (!EditorSettings::get_singleton()->check_changed_settings_in_group("interface/touchscreen")) { | ||||
| 				break; | ||||
| 			} | ||||
| 			[[fallthrough]]; | ||||
| 		} | ||||
| 		case NOTIFICATION_THEME_CHANGED: { | ||||
| 			float gizmo_scale = EDITOR_GET("interface/touchscreen/scale_gizmo_handles"); | ||||
| 			point_radius = Math::round(BASE_POINT_RADIUS * get_theme_default_base_scale() * gizmo_scale); | ||||
| 			hover_radius = Math::round(BASE_HOVER_RADIUS * get_theme_default_base_scale() * gizmo_scale); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 kobewi
						kobewi