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:
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 9e73fea12ce..c6af7cda220 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -778,20 +778,20 @@ static void area_azone_initialize(wmWindow *win, const bScreen *screen, ScrArea
sa->totrct.xmin + (AZONESPOT - 1),
sa->totrct.ymin + (AZONESPOT - 1)},
/* Bottom-right. */
- {sa->totrct.xmax,
+ {sa->totrct.xmax - (AZONESPOT - 1),
sa->totrct.ymin,
- sa->totrct.xmax - (AZONESPOT - 1),
+ sa->totrct.xmax,
sa->totrct.ymin + (AZONESPOT - 1)},
/* Top-left. */
{sa->totrct.xmin,
- sa->totrct.ymax,
+ sa->totrct.ymax - (AZONESPOT - 1),
sa->totrct.xmin + (AZONESPOT - 1),
- sa->totrct.ymax - (AZONESPOT - 1)},
+ sa->totrct.ymax},
/* Top-right. */
- {sa->totrct.xmax,
- sa->totrct.ymax,
- sa->totrct.xmax - (AZONESPOT - 1),
- sa->totrct.ymax - (AZONESPOT - 1)}};
+ {sa->totrct.xmax - (AZONESPOT - 1),
+ sa->totrct.ymax - (AZONESPOT - 1),
+ sa->totrct.xmax,
+ sa->totrct.ymax}};
for (int i = 0; i < 4; i++) {
/* can't click on bottom corners on OS X, already used for resizing */