Skip to content

Commit

Permalink
Do not clear the contextTop if we are in drawingMode. closes #2723 (#…
Browse files Browse the repository at this point in the history
…2895)

* do not clear contexttop if we are drawing
  • Loading branch information
asturur committed Apr 15, 2016
1 parent 67955ae commit 188fed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/static_canvas.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -855,7 +855,7 @@
renderAll: function () {
var canvasToDrawOn = this.contextContainer, objsToRender;

if (this.contextTop && this.selection && !this._groupSelector) {
if (this.contextTop && this.selection && !this._groupSelector && !this.isDrawingMode) {
this.clearContext(this.contextTop);
}

Expand Down

0 comments on commit 188fed2

Please sign in to comment.