| changeset 96 | de07c00bfa7e |
| parent 94 | 1e837b3a4b00 |
| child 100 | 73bd74109313 |
| 95:b4196fab7d01 | 96:de07c00bfa7e |
|---|---|
255 |
255 |
256 if (points.length) { |
256 if (points.length) { |
257 closed = true; |
257 closed = true; |
258 } |
258 } |
259 |
259 |
260 if ( |
|
261 points.length === 4 |
|
262 && points[0].x === points[3].x |
|
263 && points[0].y === points[1].y |
|
264 && points[1].x === points[2].x |
|
265 && points[2].y === points[3].y |
|
266 ) { |
|
267 rectangleMode = true; |
|
268 } |
|
269 |
|
260 redrawPath(); |
270 redrawPath(); |
261 } |
271 } |
262 |
272 |
263 revertPath(); |
273 revertPath(); |
264 |
274 |