diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-14 00:28:30 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-14 00:31:46 +0300 |
commit | 8c0b5c02de4e26268ca3478bc61896be11e638fe (patch) | |
tree | d48447fbaf53d604d0cd827720d705318bbb5920 /source/blender/editors | |
parent | 9f78aa4c363e2e8df7f41400dbc652ab79b8626b (diff) |
Draw emboss when area is full but in quad-split
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/screen/area.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 48b00376667..79d6b845361 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -537,8 +537,12 @@ void ED_region_do_draw(bContext *C, ARegion *ar) UI_blocklist_free_inactive(C, &ar->uiblocks); - if (sa && (win->screen->state != SCREENFULL)) { - region_draw_emboss(ar, &ar->winrct); + if (sa) { + /* disable emboss when the area is full, + * unless we need to see division between regions (quad-split for eg) */ + if (((win->screen->state == SCREENFULL) && (ar->alignment == RGN_ALIGN_NONE)) == 0) { + region_draw_emboss(ar, &ar->winrct); + } } } |