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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-10-17 02:12:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-10-17 02:12:31 +0400
commit13e9c44ce58b070913e2d385704c5a266f154b2e (patch)
tree50deacba69fe0f123884218cf16aec37425acef7 /source
parent887da1345c5b73b93181d110eb67b435dff83000 (diff)
UI: disable area emboss when it's maximized
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/screen/area.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 901ab67d6cd..e38f3b5bee6 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -499,8 +499,9 @@ void ED_region_do_draw(bContext *C, ARegion *ar)
uiFreeInactiveBlocks(C, &ar->uiblocks);
- if (sa)
+ if (sa && (win->screen->state != SCREENFULL)) {
region_draw_emboss(ar, &ar->winrct);
+ }
}
/* **********************************