We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b27f1f5 commit 3eaff58Copy full SHA for 3eaff58
editor.ts
@@ -230,16 +230,11 @@ namespace microcode {
230
makeOnEvent(controller.left.id, CursorDir.Left)
231
makeOnEvent(controller.up.id, CursorDir.Up)
232
makeOnEvent(controller.down.id, CursorDir.Down)
233
- if (!Options.menuProfiling)
234
- context.onEvent(
235
- ControllerButtonEvent.Pressed,
236
- controller.menu.id,
237
- () => {
238
- // go back to home screen
239
- this.app.popScene()
240
- this.app.pushScene(new Home(this.app))
241
- }
242
- )
+ context.onEvent(
+ ControllerButtonEvent.Pressed,
+ controller.menu.id,
+ () => this.runProgram()
+ )
243
this.hudroot = new Placeable()
244
this.hudroot.xfrm.localPos = new Vec2(0, Screen.TOP_EDGE)
245
this.scrollroot = new Placeable()
0 commit comments