diff options
Diffstat (limited to 'source/blender/editors/screen')
-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 8a01cf351bf..1b7cd4a6d20 100644 --- a/source/blender/editors/screen/area.c +++ b/source/blender/editors/screen/area.c @@ -1967,11 +1967,11 @@ void ED_region_visible_rect(ARegion *ar, rcti *rect) if (BLI_rcti_isect(rect, &arn->winrct, NULL)) { /* overlap left, also check 1 pixel offset (2 regions on one side) */ - if ( ABS(rect->xmin - arn->winrct.xmin) < 2) + if (ABS(rect->xmin - arn->winrct.xmin) < 2) rect->xmin = arn->winrct.xmax; /* overlap right */ - if ( ABS(rect->xmax - arn->winrct.xmax) < 2) + if (ABS(rect->xmax - arn->winrct.xmax) < 2) rect->xmax = arn->winrct.xmin; } } |