Skip to content

Commit

Permalink
0.0.5: default to transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
zimond committed Apr 26, 2016
1 parent b5bca03 commit b1e6b96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if ( typeof module !== 'undefined' && module.exports ) module.exports = function
// props
this.canvas = ghostCanvas;
this.direction = 'inherit';
this.fillStyle = '#000';
this.fillStyle = 'transparent';
this.font = '10px sans-serif';
this.globalAlpha = 1.0;
this.globalCompositeOperation = null;
Expand All @@ -125,10 +125,10 @@ if ( typeof module !== 'undefined' && module.exports ) module.exports = function
this.lineWidth = 1.0;
this.miterLimit = 10;
this.shadowBlur = 0;
this.shadowColor = 'black';
this.shadowColor = 'transparent';
this.shadowOffsetX = 0;
this.shadowOffsetY = 0;
this.strokeStyle = '#000';
this.strokeStyle = 'transparent';
this.textAlign = 'start';
this.textBaseline = 'alphabetic';
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ghost-canvas",
"version": "0.0.4",
"version": "0.0.5",
"description": "Record canvas changes without actually rendering anything, based on jscapturecanvas",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit b1e6b96

Please sign in to comment.