diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2018-10-31 01:54:25 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2018-10-31 02:52:07 +0300 |
commit | 0bc427f5c359f081ccd97a7266566c243b910919 (patch) | |
tree | a3ffcbb33be6d4d1641ce1311438096f624eb95a /source/blender/editors/space_buttons | |
parent | 4e23c69bfa6d835e270cb1098c03b3adfb4c9d9c (diff) |
UI: Don't show scrollbar in Properties tab-bar
Addresses feedback from D3840.
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r-- | source/blender/editors/space_buttons/space_buttons.c | 5 |
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 |