Skip to content

Commit

Permalink
Fix size component
Browse files Browse the repository at this point in the history
  • Loading branch information
ericlathrop committed Aug 27, 2016
1 parent a51d893 commit 06fb1d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [7.2.1] - 2016-08-27
### Fixed
- Property names of size component

## [7.2.0] - 2016-08-27
### Added
- Support Tiled layer visibility by not importing invisible layers
Expand Down
8 changes: 4 additions & 4 deletions lib/components/size.js
Expand Up @@ -9,12 +9,12 @@
module.exports = {
factory: function() {
return {
x: 0,
y: 0
width: 0,
height: 0
};
},
reset: function(size) {
size.x = 0;
size.y = 0;
size.width = 0;
size.height = 0;
}
};
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "splat-ecs",
"version": "7.2.0",
"version": "7.2.1",
"description": "A 2D HTML5 Canvas game engine",
"main": "lib/main.js",
"scripts": {
Expand Down

0 comments on commit 06fb1d4

Please sign in to comment.