pxt-arcade
pxt-arcade copied to clipboard
closing tab while in debugger mode incorrectly persists 'deletable' prop on blocks
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to arcade
- open any project
- open debug mode
- close tab while in debug mode
- open arcade again and reopen that project
- right click on any block
- see missing duplicate block / delete block opts
share link with that state here: https://makecode.com/_KTugcR8rD4jD
Expected behavior
closing tab while in debug mode should not persist debug mode-specific state in the project.
Screenshots

All the blocks get the deletable="false" prop added to them:

Additional context
reported by user on forum https://forum.makecode.com/t/missing-context-menu-items-duplicate-and-delete-block-s/14729