Merge pull request #304 from sjpemberton09/development

Add code to resize cache canvas.
This commit is contained in:
Juriy Zaytsev 2012-10-30 16:47:39 -07:00
commit 34c23bee06
3 changed files with 8 additions and 0 deletions

4
dist/all.js vendored
View file

@ -5277,6 +5277,10 @@ fabric.util.string = {
this.upperCanvasEl.style[prop] = value + 'px';
}
if (this.cacheCanvasEl) {
this.cacheCanvasEl[prop] = value;
}
if (this.wrapperEl) {
this.wrapperEl.style[prop] = value + 'px';
}

BIN
dist/all.min.js.gz vendored

Binary file not shown.

View file

@ -340,6 +340,10 @@
this.upperCanvasEl.style[prop] = value + 'px';
}
if (this.cacheCanvasEl) {
this.cacheCanvasEl[prop] = value;
}
if (this.wrapperEl) {
this.wrapperEl.style[prop] = value + 'px';
}