From 5b820966709014b1b91fd844e4c96a16f31c4b50 Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Mon, 6 Mar 2017 15:54:52 -0500 Subject: [PATCH] Clear gfx on stop all --- src/sprites/rendered-target.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sprites/rendered-target.js b/src/sprites/rendered-target.js index adf945739..e062df53f 100644 --- a/src/sprites/rendered-target.js +++ b/src/sprites/rendered-target.js @@ -706,9 +706,10 @@ RenderedTarget.prototype.onGreenFlag = function () { /** * Called when the project receives a "stop all" - * Stop all sounds + * Stop all sounds and clear graphic effects. */ RenderedTarget.prototype.onStopAll = function () { + this.clearEffects(); if (this.audioPlayer) { this.audioPlayer.stopAllSounds(); this.audioPlayer.clearEffects();