Skip to content

Commit

Permalink
Merge pull request #24 from jakubfiala/refill-fix#22
Browse files Browse the repository at this point in the history
Fixed refill bug & mouseup handler
  • Loading branch information
jakubfiala authored Dec 25, 2016
2 parents 1cdbc33 + 6c05006 commit bd1b4aa
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1>atrament.js</h1>
<option value="erase" default>Erase</option>
</select><br>
<label>Colour</label>
<input type="color" onchange="atrament.color = event.target.value;" value="black" autocomplete="off"><br>
<input type="color" onchange="atrament.color = event.target.value;" value="#000000" autocomplete="off"><br>
<label>Opacity</label><br>
<input type="range" min="0" max="1" onchange="atrament.opacity = parseFloat(event.target.value);" value="1" step="0.05" autocomplete="off">
</form>
Expand Down
2 changes: 1 addition & 1 deletion dist/atrament.min.js

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

2 changes: 1 addition & 1 deletion dist/atrament.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"prepublish": "npm run node-compile",
"node-compile": "babel src --presets es2015 -d lib/",
"build": "webpack --config webpack.config.js",
"watch": "webpack --config webpack.config.js --watch",
"test": "jasmine"
},
"repository": {
Expand Down
Loading

0 comments on commit bd1b4aa

Please sign in to comment.