Skip to content

Commit f32c6f3

Browse files
committed
pass text
1 parent 2c1b996 commit f32c6f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inputMethods.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ namespace microgui {
433433
}
434434
)
435435

436-
context.onEvent(ControllerButtonEvent.Pressed, controller.B.id, () => this.passedBackBtn())
436+
context.onEvent(ControllerButtonEvent.Pressed, controller.B.id, () => this.passedBackBtn(this.text))
437437
this.navigator.setBtns(this.btns);
438438
}
439439

@@ -487,7 +487,7 @@ namespace microgui {
487487
}
488488

489489
public deleteFn(): void {
490-
this.passedDeleteFn();
490+
this.passedDeleteFn(this.text);
491491
}
492492

493493
public getText() {

0 commit comments

Comments
 (0)