pxt-arcade icon indicating copy to clipboard operation
pxt-arcade copied to clipboard

closing tab while in debugger mode incorrectly persists 'deletable' prop on blocks

Open jwunderl opened this issue 3 years ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to arcade
  2. open any project
  3. open debug mode
  4. close tab while in debug mode
  5. open arcade again and reopen that project
  6. right click on any block
  7. 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

image

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

Additional context

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

jwunderl avatar Aug 04 '22 21:08 jwunderl