Skip to content

Commit

Permalink
disable console log
Browse files Browse the repository at this point in the history
  • Loading branch information
Amerlander committed Nov 8, 2023
1 parent 3067051 commit 24b2c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sim/visuals/microbit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2677,7 +2677,7 @@ namespace pxsim.visuals {
let pressedTime: number;
pointerEvents.down.forEach(evid => btn.addEventListener(evid, ev => {
let state = this.board;
console.log(`down ${state.edgeConnectorState.pins[i].id}`)
// console.log(`down ${state.edgeConnectorState.pins[i].id}`)
state.edgeConnectorState.pins[i].touched = true;
this.updatePin(state.edgeConnectorState.pins[i], index);
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_DOWN);
Expand All @@ -2690,7 +2690,7 @@ namespace pxsim.visuals {
// })
btn.addEventListener(pointerEvents.up, ev => {
let state = this.board;
console.log(`up ${state.edgeConnectorState.pins[i].id}, index ${index}`)
// console.log(`up ${state.edgeConnectorState.pins[i].id}, index ${index}`)
state.edgeConnectorState.pins[i].touched = false;
this.updatePin(state.edgeConnectorState.pins[i], index);
this.board.bus.queue(state.edgeConnectorState.pins[i].id, DAL.MICROBIT_BUTTON_EVT_UP);
Expand Down

0 comments on commit 24b2c8d

Please sign in to comment.