microsoft / pxt-microbit

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

Data simulator won't disappear once it's enabled #5229

Open Sheila111 opened 1 year ago

Sheila111 commented 1 year ago

Describe the bug Data simulator won't disappear once it's enabled

Steps to reproduce the behavior

  1. Navigate to https://makecode.microbit.org/beta#
  2. Create a project and add extension 'Data Logger'
  3. Drag data logger block or import this project: https://makecode.microbit.org/S43324-33758-82858-32232
  4. Press button A, Data Simulator is enabled
  5. Back to homepage and create a new project

Actual behavior Data simulator won't disappear once it's enabled. You can't remove the Data simulator.

Expect behavior Data simulator only shows in the data logger project. It will disappear if you create a new project.

Screenshot 3

Additional context 1.OS: Windows11 2.makecode.microbit.org version: 5.1.38 3.Microsoft MakeCode version: 8.6.50

abchatra commented 1 year ago

Simulator leaking?