mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Merge pull request #1147 from paulkaplan/fix-say-hide
Fix say bug with show/hide
This commit is contained in:
commit
b7e40c9735
1 changed files with 2 additions and 2 deletions
|
@ -291,7 +291,7 @@ class Scratch3LooksBlocks {
|
||||||
this._bubbleTimeout = null;
|
this._bubbleTimeout = null;
|
||||||
// Clear say bubble if it hasn't been changed and proceed.
|
// Clear say bubble if it hasn't been changed and proceed.
|
||||||
if (this._getBubbleState(target).usageId === usageId) {
|
if (this._getBubbleState(target).usageId === usageId) {
|
||||||
this._onTargetWillExit(target);
|
this._updateBubble(target, 'say', '');
|
||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
}, 1000 * args.SECS);
|
}, 1000 * args.SECS);
|
||||||
|
@ -311,7 +311,7 @@ class Scratch3LooksBlocks {
|
||||||
this._bubbleTimeout = null;
|
this._bubbleTimeout = null;
|
||||||
// Clear think bubble if it hasn't been changed and proceed.
|
// Clear think bubble if it hasn't been changed and proceed.
|
||||||
if (this._getBubbleState(target).usageId === usageId) {
|
if (this._getBubbleState(target).usageId === usageId) {
|
||||||
this._onTargetWillExit(target);
|
this._updateBubble(target, 'think', '');
|
||||||
}
|
}
|
||||||
resolve();
|
resolve();
|
||||||
}, 1000 * args.SECS);
|
}, 1000 * args.SECS);
|
||||||
|
|
Loading…
Reference in a new issue