diff -r b4196fab7d01 -r de07c00bfa7e integration/js/cutout.js --- a/integration/js/cutout.js Tue Mar 19 13:19:59 2013 +0100 +++ b/integration/js/cutout.js Tue Mar 19 13:26:31 2013 +0100 @@ -257,6 +257,16 @@ closed = true; } + if ( + points.length === 4 + && points[0].x === points[3].x + && points[0].y === points[1].y + && points[1].x === points[2].x + && points[2].y === points[3].y + ) { + rectangleMode = true; + } + redrawPath(); }