Skip to content

Commit

Permalink
Update Application.js
Browse files Browse the repository at this point in the history
[nit-pick] Sorry couldn't help it! I love the library btw :)
  • Loading branch information
Ewan-Roberts authored Feb 15, 2019
1 parent f72d9b1 commit 1b68c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/shadows/mixins/Application.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export default function augment(application, shadowFilter){
// Replace the stage with a layered stage
application.stage = new PIXI.display.Stage();

// Remove the current render fucntion
// Remove the current render function
application.ticker.remove(application.render, application);

// Overwrite the render function
Expand All @@ -22,4 +22,4 @@ export default function augment(application, shadowFilter){

// Reassign ticker because its setter initialises the render method
application.ticker = application.ticker;
}
}

0 comments on commit 1b68c91

Please sign in to comment.