From 46f885fc03d17b17961eb2d3436d8c6744002822 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Thu, 31 May 2018 16:47:40 -0400 Subject: [PATCH] Sound effect and volume blocks request redraw --- src/blocks/scratch3_sound.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/blocks/scratch3_sound.js b/src/blocks/scratch3_sound.js index bb9e61838..b60cdd1d5 100644 --- a/src/blocks/scratch3_sound.js +++ b/src/blocks/scratch3_sound.js @@ -229,6 +229,7 @@ class Scratch3SoundBlocks { if (util.target.audioPlayer === null) return; util.target.audioPlayer.setEffect(effect, soundState.effects[effect]); + this.runtime.requestRedraw(); } _syncEffectsForTarget (target) { @@ -277,6 +278,7 @@ class Scratch3SoundBlocks { util.target.volume = volume; if (util.target.audioPlayer === null) return; util.target.audioPlayer.setVolume(util.target.volume); + this.runtime.requestRedraw(); } getVolume (args, util) {