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:
parent
a30f0ff848
commit
36e618c373
2 changed files with 23 additions and 20 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue