Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_buttons/space_buttons.c')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index 0e52b8ad320..6f33a2c84c6 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -430,7 +430,10 @@ static void buttons_navigation_bar_region_draw(const bContext *C, ARegion *ar)
for (PanelType *pt = ar->type->paneltypes.first; pt; pt = pt->next) {
pt->flag |= PNL_LAYOUT_VERT_BAR;
}
- ED_region_panels(C, ar);
+
+ ED_region_panels_layout(C, ar);
+ ar->v2d.scroll &= ~V2D_SCROLL_VERTICAL; /* ED_region_panels_layout adds vertical scrollbars, we don't want them. */
+ ED_region_panels_draw(C, ar);
}
/* draw a certain button set only if properties area is currently