microsoft / pxt-microbit

A Blocks / JavaScript code editor for the micro:bit built on Microsoft MakeCode
https://makecode.microbit.org
Other
713 stars 588 forks source link

returning to code editor from serial view should not refresh simulator #4743

Open jwunderl opened 2 years ago

jwunderl commented 2 years ago

Describe the bug

currently if you return to the code editor (e.g. blocks) after pressing show console simulator we refresh the simulator. We have already skipped that for going to serial view, should make it skip refresh when going from serial view -> any other.

Not a regression

To Reproduce Steps to reproduce the behavior:

  1. Go to https://makecode.microbit.org/_F0gd0uicv2kw
  2. open in editor
  3. click on 'show console simulator'
  4. click `go back'

Expected behavior

should just go back without affecting the simulator at all

abchatra commented 2 years ago

This is existing bug.