UI: Don't show scrollbar in Properties tab-bar

Addresses feedback from D3840.
This commit is contained in:
Julian Eisel
2018-10-30 23:54:25 +01:00
parent 4e23c69bfa
commit 0bc427f5c3

View File

@@ -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