Skip to content

Commit

Permalink
Made stroke() in text() curContext relative.
Browse files Browse the repository at this point in the history
  • Loading branch information
F1LT3R committed May 13, 2009
1 parent 2dcae1c commit 661915c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions processing.js
Expand Up @@ -906,8 +906,8 @@ function buildProcessing( curElement ){
lastCom=com[0];
}
path+="curContext.translate("+(horiz_adv_x)+",0);";
doStroke?path+="curContext.stroke();":0;
doFill?path+="curContext.fill();":0;
path+="doStroke?curContext.stroke():0;";
path+="doFill?curContext.fill():0;";
path+="}}";
return path;
}
Expand Down
2 changes: 1 addition & 1 deletion processing.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 661915c

Please sign in to comment.