mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 23:12:24 -05:00
Fix new bubbles not moving with their owning sprite.
This was the original issue #728 that spurred these changes.
This commit is contained in:
parent
87a0224790
commit
5ca58c7ceb
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ class Scratch3LooksBlocks {
|
||||||
|
|
||||||
bubbleState.drawableId = this.runtime.renderer.createDrawable();
|
bubbleState.drawableId = this.runtime.renderer.createDrawable();
|
||||||
bubbleState.skinId = this.runtime.renderer.createTextSkin(type, text, bubbleState.onSpriteRight, [0, 0]);
|
bubbleState.skinId = this.runtime.renderer.createTextSkin(type, text, bubbleState.onSpriteRight, [0, 0]);
|
||||||
|
bubbleState.visible = true;
|
||||||
|
|
||||||
this.runtime.renderer.setDrawableOrder(bubbleState.drawableId, Infinity);
|
this.runtime.renderer.setDrawableOrder(bubbleState.drawableId, Infinity);
|
||||||
this.runtime.renderer.updateDrawableProperties(bubbleState.drawableId, {
|
this.runtime.renderer.updateDrawableProperties(bubbleState.drawableId, {
|
||||||
|
|
Loading…
Reference in a new issue