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
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2010-01-13 03:43:59 +0300
committerMatt Ebb <matt@mke3.net>2010-01-13 03:43:59 +0300
commit8e076e0341797cac449895f4ab57e0c0c94cc74f (patch)
tree105325e663b091349b0d2fd4087171155cbfbc9e /source/blender/editors/screen
parentf0180b700d4573d0e3f780dcc177c33eeb7bc0a9 (diff)
Fix [#20649] when header is on top of 3D View and all regions are collapsed, expansion icons overlap
Diffstat (limited to 'source/blender/editors/screen')
-rw-r--r--source/blender/editors/screen/area.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index c494afac79e..bf4dba5a4fe 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -512,9 +512,9 @@ static void region_azone_icon(ScrArea *sa, AZone *az, ARegion *ar)
}
else if(az->edge=='b') {
az->x1= ar->winrct.xmin + AZONEPAD_ICON;
- az->y1= ar->winrct.ymin - AZONEPAD_ICON;
+ az->y1= ar->winrct.ymin - 2*AZONEPAD_ICON;
az->x2= ar->winrct.xmin + 2*AZONEPAD_ICON;
- az->y2= ar->winrct.ymin - 2*AZONEPAD_ICON;
+ az->y2= ar->winrct.ymin - AZONEPAD_ICON;
}
else if(az->edge=='l') {
az->x1= ar->winrct.xmin - 2*AZONEPAD_ICON;