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:
parent
524e000678
commit
e77ecfa8cb
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue