Prechádzať zdrojové kódy

Android Editor: Reduce default gizmo scale multiplier

The previous default value of `3` made gizmos too large and cluttered the viewport, especially on smaller screens. A value of `2` seems perfectly usable and provides a more comfortable default.
Anish Mishra 2 mesiacov pred
rodič
commit
8f6f8059cd
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      editor/settings/editor_settings.cpp

+ 1 - 1
editor/settings/editor_settings.cpp

@@ -604,7 +604,7 @@ void EditorSettings::_load_defaults(Ref<ConfigFile> p_extra_config) {
 
 	EDITOR_SETTING(Variant::BOOL, PROPERTY_HINT_NONE, "interface/touchscreen/enable_pan_and_scale_gestures", has_touchscreen_ui, "")
 	set_restart_if_changed("interface/touchscreen/enable_pan_and_scale_gestures", true);
-	EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "interface/touchscreen/scale_gizmo_handles", has_touchscreen_ui ? 3 : 1, "1,5,1")
+	EDITOR_SETTING(Variant::FLOAT, PROPERTY_HINT_RANGE, "interface/touchscreen/scale_gizmo_handles", has_touchscreen_ui ? 2 : 1, "1,5,1")
 	set_restart_if_changed("interface/touchscreen/scale_gizmo_handles", true);
 
 	// Only available in the Android/XR editor.