More robust drawControls.

This commit is contained in:
kangax 2012-10-30 18:43:55 +01:00
parent 002cdb4eb5
commit 3541f4a45d
4 changed files with 6 additions and 6 deletions

2
dist/all.js vendored
View file

@ -5562,7 +5562,7 @@ fabric.util.string = {
}
else {
for (var i = 0, len = this._objects.length; i < len; ++i) {
if (!this._objects[i].active) continue;
if (!this._objects[i] || !this._objects[i].active) continue;
ctx.save();
fabric.Object.prototype.transform.call(this._objects[i], ctx);

8
dist/all.min.js vendored

File diff suppressed because one or more lines are too long

BIN
dist/all.min.js.gz vendored

Binary file not shown.

View file

@ -625,7 +625,7 @@
}
else {
for (var i = 0, len = this._objects.length; i < len; ++i) {
if (!this._objects[i].active) continue;
if (!this._objects[i] || !this._objects[i].active) continue;
ctx.save();
fabric.Object.prototype.transform.call(this._objects[i], ctx);