diff options
author | Ton Roosendaal <ton@blender.org> | 2013-05-15 16:05:35 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-05-15 16:05:35 +0400 |
commit | 8230584582ffaf3db3724205cf580a2913352efe (patch) | |
tree | 884ab01a5641121ad3f46a89f9c42237584712cd /source/blender | |
parent | 7b9a321a79b70bbed9ee98118e58b963cea4f0dc (diff) |
The Area Split/Merge corner widget was drawing 1 pixel too big, the lines overlapped
the area divider line.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/screen/area.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c index 1a4e0361018..82ba0568823 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -589,8 +589,8 @@ static void area_azone_initialize(bScreen *screen, ScrArea *sa) az = (AZone *)MEM_callocN(sizeof(AZone), "actionzone"); BLI_addtail(&(sa->actionzones), az); az->type = AZONE_AREA; - az->x1 = sa->totrct.xmax + 1; - az->y1 = sa->totrct.ymax + 1; + az->x1 = sa->totrct.xmax; + az->y1 = sa->totrct.ymax; az->x2 = sa->totrct.xmax - (AZONESPOT - 1); az->y2 = sa->totrct.ymax - (AZONESPOT - 1); BLI_rcti_init(&az->rect, az->x1, az->x2, az->y1, az->y2); |