From bf8bb679f766fe39fb18dd8e2a8e33c047c942e4 Mon Sep 17 00:00:00 2001 From: kangax Date: Sun, 23 Jan 2011 03:42:17 -0500 Subject: [PATCH] Remove an assignment that was used for debugging. --- dist/all.js | 5 ----- src/object.class.js | 4 ---- 2 files changed, 9 deletions(-) diff --git a/dist/all.js b/dist/all.js index f3cf9629..c6f0ff67 100644 --- a/dist/all.js +++ b/dist/all.js @@ -6864,11 +6864,6 @@ fabric.util.animate = animate; for (var i in this.oCoords) { lines = this._getImageLines(this.oCoords[i].corner, i); - - canvas.contextTop.fillStyle = 'red'; - - - xpoints = this._findCrossPoints(ex, ey, lines); if (xpoints % 2 == 1 && xpoints != 0) { this.__corner = i; diff --git a/src/object.class.js b/src/object.class.js index cf5b3357..c958961b 100644 --- a/src/object.class.js +++ b/src/object.class.js @@ -841,11 +841,7 @@ for (var i in this.oCoords) { lines = this._getImageLines(this.oCoords[i].corner, i); - - canvas.contextTop.fillStyle = 'red'; - // debugging - // canvas.contextTop.fillRect(lines.bottomline.d.x, lines.bottomline.d.y, 2, 2); // canvas.contextTop.fillRect(lines.bottomline.o.x, lines.bottomline.o.y, 2, 2); //