mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 13:41:03 +00:00 
			
		
		
		
	Fix some editor shortcuts' default values not being set properly
This also changes the uppercase/lowercase/capitalize shortcuts to Shift+F4, Shift+F5 and Shift+F6 respectively to avoid conflicts with the new Find Next shortcut. This closes #21612.
This commit is contained in:
		
							parent
							
								
									df73d26314
								
							
						
					
					
						commit
						af139af69e
					
				
					 2 changed files with 4 additions and 9 deletions
				
			
		|  | @ -5379,7 +5379,6 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { | |||
| 	ED_SHORTCUT("spatial_editor/tool_move", TTR("Tool Move"), KEY_W); | ||||
| 	ED_SHORTCUT("spatial_editor/tool_rotate", TTR("Tool Rotate"), KEY_E); | ||||
| 	ED_SHORTCUT("spatial_editor/tool_scale", TTR("Tool Scale"), KEY_R); | ||||
| 	ED_SHORTCUT("spatial_editor/snap_to_floor", TTR("Snap To Floor"), KEY_PAGEDOWN); | ||||
| 
 | ||||
| 	ED_SHORTCUT("spatial_editor/freelook_toggle", TTR("Toggle Freelook"), KEY_MASK_SHIFT + KEY_F); | ||||
| 
 | ||||
|  | @ -5390,7 +5389,7 @@ SpatialEditor::SpatialEditor(EditorNode *p_editor) { | |||
| 	hbc_menu->add_child(transform_menu); | ||||
| 
 | ||||
| 	p = transform_menu->get_popup(); | ||||
| 	p->add_shortcut(ED_SHORTCUT("spatial_editor/snap_to_floor", TTR("Snap object to floor")), MENU_SNAP_TO_FLOOR); | ||||
| 	p->add_shortcut(ED_SHORTCUT("spatial_editor/snap_to_floor", TTR("Snap object to floor"), KEY_PAGEDOWN), MENU_SNAP_TO_FLOOR); | ||||
| 	p->add_shortcut(ED_SHORTCUT("spatial_editor/configure_snap", TTR("Configure Snap...")), MENU_TRANSFORM_CONFIGURE_SNAP); | ||||
| 	p->add_separator(); | ||||
| 	p->add_shortcut(ED_SHORTCUT("spatial_editor/transform_dialog", TTR("Transform Dialog...")), MENU_TRANSFORM_DIALOG); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Hugo Locurcio
						Hugo Locurcio