From 09416fe6e1359ba18b84972e11a4c2c11b671de6 Mon Sep 17 00:00:00 2001 From: Roel Koster Date: Tue, 30 Oct 2018 18:58:13 +0100 Subject: Fix outliner scrollbar overlapping icons. Differential Revision: https://developer.blender.org/D3650 --- source/blender/editors/space_outliner/outliner_intern.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/blender/editors/space_outliner') diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h index 310c8071097..41a0dce7a38 100644 --- a/source/blender/editors/space_outliner/outliner_intern.h +++ b/source/blender/editors/space_outliner/outliner_intern.h @@ -129,10 +129,10 @@ typedef enum { /* size constants */ #define OL_Y_OFFSET 2 -#define OL_TOG_HIDEX (UI_UNIT_X * 4.0f) -#define OL_TOG_RESTRICT_SELECTX (UI_UNIT_X * 3.0f) -#define OL_TOG_RESTRICT_VIEWX (UI_UNIT_X * 2.0f) -#define OL_TOG_RESTRICT_RENDERX UI_UNIT_X +#define OL_TOG_HIDEX (UI_UNIT_X * 4.0f + V2D_SCROLL_WIDTH) +#define OL_TOG_RESTRICT_SELECTX (UI_UNIT_X * 3.0f + V2D_SCROLL_WIDTH) +#define OL_TOG_RESTRICT_VIEWX (UI_UNIT_X * 2.0f + V2D_SCROLL_WIDTH) +#define OL_TOG_RESTRICT_RENDERX (UI_UNIT_X + V2D_SCROLL_WIDTH) #define OL_TOGW OL_TOG_HIDEX -- cgit v1.2.3