UI: tweak 3D view space between navigation gizmo & buttons

Align the lower side of the navigation gizmo with the top of the icons.
This commit is contained in:
Campbell Barton 2019-09-06 06:19:45 +10:00
parent 524e000678
commit e77ecfa8cb
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ static void WIDGETGROUP_navigate_draw_prepare(const bContext *C, wmGizmoGroup *g
float icon_offset_from_axis = 0.0f;
switch ((eUserpref_MiniAxisType)U.mini_axis_type) {
case USER_MINI_AXIS_TYPE_GIZMO:
icon_offset_from_axis = icon_offset * 2.0f;
icon_offset_from_axis = icon_offset * 2.1f;
break;
case USER_MINI_AXIS_TYPE_MINIMAL:
icon_offset_from_axis = (UI_UNIT_X * 2.5) + ((U.rvisize * U.pixelsize * 2.0f));