Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
dataRecorder.ts: bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
KierPalin committed Nov 7, 2024
1 parent d821e4e commit 0b52422
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion dataRecorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,14 @@ namespace microcode {
ControllerButtonEvent.Pressed,
controller.B.id,
() => {
this.showCancelRecordingScreen = !this.showCancelRecordingScreen
if (this.scheduler.loggingComplete()) {
this.app.popScene()
this.app.pushScene(new Home(this.app))
}

else {
this.showCancelRecordingScreen = !this.showCancelRecordingScreen
}
}
)

Expand Down
2 changes: 1 addition & 1 deletion home.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ namespace microcode {
wordLogo.height +
dy +
this.yOffset +
3,
2,
0xb,
microcode.font
)
Expand Down

0 comments on commit 0b52422

Please sign in to comment.