Skip to content

Commit

Permalink
Fixing the error in 'LibCanvas.App.Layer' class in the 'redrawAll()' …
Browse files Browse the repository at this point in the history
…method. The incorrect invocation of 'redraw' on elements array.
  • Loading branch information
svtux committed Apr 5, 2016
1 parent c707c5d commit bd487d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/App/Layer.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ declare( 'LibCanvas.App.Layer', {
},

redrawAll: function () {
this.elements.invoke('redraw');
atom.array.invoke( this.elements, 'redraw' );
return this;
},

Expand Down
2 changes: 1 addition & 1 deletion libcanvas-full-compiled.js
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ declare( 'LibCanvas.App.Layer', {
},

redrawAll: function () {
this.elements.invoke('redraw');
atom.array.invoke( this.elements, 'redraw' );
return this;
},

Expand Down

0 comments on commit bd487d4

Please sign in to comment.