microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
477 stars 207 forks source link

CreateSprite error if JS switching to Blocks twice #2530

Closed Sheila111 closed 3 years ago

Sheila111 commented 3 years ago

Describe the bug CreateSprite error if JS switching to Blocks twice

Steps to reproduce the behavior 1.Navigate to https://arcade.makecode.com/beta# 2.New Project--->JS editor 3.Drag sprite img of kind kind in Sprites 4.Switch to Blocks---->JS---->Blocks

Expect behavior No error

Actual behavior CreateSprite error if JS switching to Blocks twice 3

Additional context 1.OS: Windows(rs6) 2.arcade version: 1.3.13 3.Microsoft MakeCode version: 6.5.2

riknoll commented 3 years ago

Fixed in beta