Address Yury's review comments + remove call to addCtxCurrentTransform in pattern.js as the contet is added during the CanvasGraphics constructor already

This commit is contained in:
Julian Viereck 2011-11-27 09:22:08 +01:00
parent a30f0ff848
commit 36e618c373
2 changed files with 23 additions and 20 deletions

View file

@ -217,8 +217,6 @@ var TilingPattern = (function tilingPattern() {
// set the new canvas element context as the graphics context
var tmpCtx = tmpCanvas.getContext('2d');
addCtxCurrentTransform(tmpCtx);
var graphics = new CanvasGraphics(tmpCtx, objs);
switch (paintType) {