Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug draws are not cleared in CANVAS mode using Matter physics. #3345

Closed
samid737 opened this issue Mar 7, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@samid737
Copy link
Contributor

commented Mar 7, 2018

This Issue is about (delete as applicable)

  • A bug in the API : v3.2.0

image

It only occurs using Matter.

How to reproduce:

switch one of the examples to Phaser.CANVAS:

https://labs.phaser.io/edit.html?src=src\physics\matterjs\circle%20body.js

@samid737 samid737 changed the title Matter.js debug draws are not cleared in CANVAS mode. debug draws are not cleared in CANVAS mode using Matter physics. Mar 7, 2018

samid737 added a commit to samid737/phaser that referenced this issue Mar 8, 2018

photonstorm added a commit that referenced this issue Mar 9, 2018

Merge pull request #3348 from samid737/master
* Fix #3345 by adding beginPath and closePath in postUpdate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.