Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Feature/new continue#5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ShMcK merged 10 commits intomasterfromfeature/new-continue
Jun 10, 2019
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
use chart ids
  • Loading branch information
@ShMcK
ShMcK committedJun 10, 2019
commit7f0dd625fb956abf65f539414c7aede092b96493
14 changes: 7 additions & 7 deletionssrc/state/machine.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -11,7 +11,7 @@ export const machine = Machine<
CR.MachineEvent
>(
{
id: 'tutorial',
id: 'root',
context: initialContext,
initial: 'SelectTutorial',
states: {
Expand DownExpand Up@@ -42,26 +42,26 @@ export const machine = Machine<
InitializeTutorial: {
onEntry: ['tutorialLaunch'],
on: {
TUTORIAL_LOADED: 'Tutorial'
TUTORIAL_LOADED: '#tutorial'
}
},
}
},
ContinueTutorial: {
onEntry: ['tutorialContinue'],
on: {
TUTORIAL_START: {
target: 'Tutorial.LoadNext',
}
TUTORIAL_START: '#tutorial-load-next'
}
},
}
},
Tutorial: {
id: 'tutorial',
initial: 'Summary',
states: {
LoadNext: {
onEntry: () => send('LOAD_NEXT'),
id: 'tutorial-load-next',
// onEntry: () => send('LOAD_NEXT'),
on: {
LOAD_NEXT: [
{
Expand DownExpand Up@@ -144,7 +144,7 @@ export const machine = Machine<
cond: 'hasNextLevel',
},
{
target: 'EndTutorial',
target: '#root.Tutorial.EndTutorial',
},
],
},
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp