[Bf-blender-cvs] [09416fe6e13] blender2.8: Fix outliner scrollbar overlapping icons.
Roel Koster
noreply at git.blender.org
Tue Oct 30 19:04:59 CET 2018
Commit: 09416fe6e1359ba18b84972e11a4c2c11b671de6
Author: Roel Koster
Date: Tue Oct 30 18:58:13 2018 +0100
Branches: blender2.8
https://developer.blender.org/rB09416fe6e1359ba18b84972e11a4c2c11b671de6
Fix outliner scrollbar overlapping icons.
Differential Revision: https://developer.blender.org/D3650
===================================================================
M source/blender/editors/space_outliner/outliner_intern.h
===================================================================
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
More information about the Bf-blender-cvs
mailing list