| changeset 96 | de07c00bfa7e |
| parent 94 | 1e837b3a4b00 |
| child 100 | 73bd74109313 |
--- 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(); }