Skip to content

Commit

Permalink
[#726] Update to TypeScript 2.1.4 (#732)
Browse files Browse the repository at this point in the history
Closes #726

## Changes:

- Update to TS 2.1.4
- Fix bug in `Sprite.debugDraw`
  • Loading branch information
kamranayub authored Dec 29, 2016
1 parent 4db1dee commit f638d4a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).

### Changed
- Changed Util.clamp to use math libraries ([#536](https://github.com/excaliburjs/Excalibur/issues/536))
- Upgraded to TypeScript 2.1.4 ([#726](https://github.com/excaliburjs/Excalibur/issues/726))

### Deprecated

Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions npm-shrinkwrap.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"source-map-support": "^0.4.3",
"travis-ci": "^2.1.0",
"tslint": "^3.13.0",
"typescript": "^2.0.10"
"typescript": "^2.1.4"
}
}
2 changes: 1 addition & 1 deletion src/engine/Drawing/Sprite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ module ex {
var xpoint = (scaledSWidth) * this.anchor.x;
var ypoint = (scaledSHeight) * this.anchor.y;

ctx.strokeStyle = Color.Black;
ctx.strokeStyle = Color.Black.toString();
ctx.strokeRect(-xpoint, -ypoint, scaledSWidth, scaledSHeight);
ctx.restore();
}
Expand Down

0 comments on commit f638d4a

Please sign in to comment.