Merge pull request #1147 from paulkaplan/fix-say-hide

Fix say bug with show/hide
This commit is contained in:
Paul Kaplan 2018-05-22 14:49:50 -04:00 committed by GitHub
commit b7e40c9735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -291,7 +291,7 @@ class Scratch3LooksBlocks {
this._bubbleTimeout = null;
// Clear say bubble if it hasn't been changed and proceed.
if (this._getBubbleState(target).usageId === usageId) {
this._onTargetWillExit(target);
this._updateBubble(target, 'say', '');
}
resolve();
}, 1000 * args.SECS);
@ -311,7 +311,7 @@ class Scratch3LooksBlocks {
this._bubbleTimeout = null;
// Clear think bubble if it hasn't been changed and proceed.
if (this._getBubbleState(target).usageId === usageId) {
this._onTargetWillExit(target);
this._updateBubble(target, 'think', '');
}
resolve();
}, 1000 * args.SECS);