Skip to content

Commit

Permalink
Update game.js
Browse files Browse the repository at this point in the history
I think it will look better now, good work!

Co-authored-by: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 017b319 commit 8219a5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ var Starfield = function(speed,opacity,numStars,clear) {
// If the clear option is set,
// make the background black instead of transparent
if(clear) {
starCtx.fillStyle = "#FFF";
starCtx.fillStyle = "#000";
starCtx.fillRect(0,0,stars.width,stars.height);
}

Expand Down

0 comments on commit 8219a5a

Please sign in to comment.