Skip to content

Commit

Permalink
Fix water tiling sprite not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
bbazukun123 committed Jan 6, 2024
1 parent 38a2b49 commit 184fddc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/demo/src/DemoApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,10 @@ export default class DemoApplication extends Application
* Animate the fish, overlay and filters (if applicable)
* @param {number} delta - % difference in time from last frame render
*/
animate(delta)
animate(time)
{
const delta = time.deltaTime;

this.animateTimer += delta;

const { bounds, animateTimer, overlay } = this;
Expand Down

0 comments on commit 184fddc

Please sign in to comment.