Skip to content
Browse files

Correct clearrect bug when rendering scenes.

  • Loading branch information...
1 parent fc4017a commit af6d034b54f0aa1378b45041c9b7d5024b379a6b @dyoo committed
Showing with 1 addition and 3 deletions.
  1. +1 −3 war/js/mzscheme-vm/support.js
View
4 war/js/mzscheme-vm/support.js
@@ -10707,9 +10707,7 @@ if (typeof(world) === 'undefined') {
SceneImage.prototype.render = function(ctx, x, y) {
var i;
var childImage, childX, childY;
- // Clear the scene.
- ctx.clearRect(x, y, this.width, this.height);
- // Then ask every object to render itself.
+ // Ask every object to render itself.
for(i = 0; i < this.children.length; i++) {
childImage = this.children[i][0];
childX = this.children[i][1];

0 comments on commit af6d034

Please sign in to comment.
Something went wrong with that request. Please try again.