mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Fix hidden bubbles not resetting on stop
This commit is contained in:
parent
326c41875e
commit
a6a29a5437
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,8 @@ class Scratch3LooksBlocks {
|
||||||
*/
|
*/
|
||||||
_onResetBubbles () {
|
_onResetBubbles () {
|
||||||
for (let n = 0; n < this.runtime.targets.length; n++) {
|
for (let n = 0; n < this.runtime.targets.length; n++) {
|
||||||
|
const bubbleState = this._getBubbleState(this.runtime.targets[n]);
|
||||||
|
bubbleState.text = '';
|
||||||
this._onTargetWillExit(this.runtime.targets[n]);
|
this._onTargetWillExit(this.runtime.targets[n]);
|
||||||
}
|
}
|
||||||
clearTimeout(this._bubbleTimeout);
|
clearTimeout(this._bubbleTimeout);
|
||||||
|
|
Loading…
Reference in a new issue