Skip to content

Commit

Permalink
Update 14/01/2015 (Version 1.0.1)
Browse files Browse the repository at this point in the history
* Fixed error on applying a shadow
  • Loading branch information
Venerons committed Jan 14, 2015
1 parent bddf8b9 commit 30fcdd9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# Palette.js Changelog

_Copyright (c) 2013-2014 Daniele Veneroni._
_Copyright (c) 2013-2015 Daniele Veneroni._
_Released under MIT License. See [LICENSE.md](LICENSE.md) for further information._

### Update 14/01/2015 (Version 1.0.1)

* Fixed error on applying a shadow

### Update 11/11/2014 (Version 1.0.0)

* New final APIs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Palette.js

_Copyright (c) 2013-2014 Daniele Veneroni._
_Copyright (c) 2013-2015 Daniele Veneroni._
_Released under MIT License (X11 License). See [LICENSE.md](LICENSE.md) for further information._

Palette.js is a new full-standard HTML5 Canvas framework. With Palette.js you can easily create canvas graphics and animation in seconds!
Expand Down
6 changes: 3 additions & 3 deletions palette.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
// ┌───────────────────────────────────────────────────────────────────────┐
// │ Palette.js │
// ├───────────────────────────────────────────────────────────────────────┤
// │ Version 1.0.0 - 11/11/2014
// │ Version 1.0.1 - 14/01/2015
// ├───────────────────────────────────────────────────────────────────────┤
// │ Copyright (c) 2013-2014 Daniele Veneroni (http://venerons.github.io) │
// │ Copyright (c) 2013-2015 Daniele Veneroni (http://venerons.github.io) │
// ├───────────────────────────────────────────────────────────────────────┤
// │ Licensed under the MIT License (X11 License). │
// └───────────────────────────────────────────────────────────────────────┘
Expand Down Expand Up @@ -103,7 +103,7 @@ globalCompositeOperation
this.context.fillStyle = settings.fill;
}
if (settings.shadow) {
var shadow = shadow.split(' ');
var shadow = settings.shadow.split(' ');
this.context.shadowOffsetX = parseInt(shadow[0], 10);
this.context.shadowOffsetY = parseInt(shadow[1], 10);
this.context.shadowBlur = parseInt(shadow[2], 10);
Expand Down
4 changes: 2 additions & 2 deletions palette.min.js

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

0 comments on commit 30fcdd9

Please sign in to comment.