diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-03-28 04:45:54 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-03-28 04:46:29 +0300 |
commit | ca935abc1844e1f9b89d565fc43f26258c12ee14 (patch) | |
tree | 4cc0cd6b6b97abac3538e618590e9143f63d5d50 /source/blender/editors/screen/area.c | |
parent | 96f8bfec2d50e309cac2efc9fba201792012d87d (diff) |
Graph Editor UI: Experimental Tweak - Use tabs for properties region, to make it easier to navigate
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r-- | source/blender/editors/screen/area.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 37847b0e640..4ede89e1620 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1753,7 +1753,7 @@ void ED_region_panels(const bContext *C, ARegion *ar, const char *context, int c int redo; int scroll; - bool use_category_tabs = (ar->regiontype == RGN_TYPE_TOOLS); /* XXX, should use some better check? */ + bool use_category_tabs = (ELEM(ar->regiontype, RGN_TYPE_TOOLS, RGN_TYPE_UI)); /* XXX, should use some better check? */ /* offset panels for small vertical tab area */ const char *category = NULL; const int category_tabs_width = UI_PANEL_CATEGORY_MARGIN_WIDTH; |