Skip to content

Commit

Permalink
fix: forward Show messags follow-up #19
Browse files Browse the repository at this point in the history
  • Loading branch information
metasansana committed Apr 2, 2022
1 parent 9ee8696 commit 0dd28db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/app/scene/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/app/scene/main.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions lib/app/scene/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export abstract class MainScene<T, M>

new FormSavedCase(this),

new Case(Show, (msg: Show) => void this.tell(this.display, msg)),

new Case(Push, (msg: Push) => void this.tell(this.display, msg)),

new Case(Pop, (msg: Pop) => void this.tell(this.display, msg)),
Expand Down
2 changes: 2 additions & 0 deletions src/app/scene/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ export abstract class MainScene<T, M>

new FormSavedCase(this),

new Case(Show, (msg: Show) => void this.tell(this.display, msg)),

new Case(Push, (msg: Push) => void this.tell(this.display, msg)),

new Case(Pop, (msg: Pop) => void this.tell(this.display, msg)),
Expand Down

0 comments on commit 0dd28db

Please sign in to comment.