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

Commit490fb90

Browse files
authored
Merge pull request#142 from ShMcK/fix/task-count
Fix/task count
2 parentsc481de1 +e3124dc commit490fb90

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

‎.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
// styles
1414
"workbench.colorCustomizations": {
1515
"activityBar.background":"#1a1a1a",
16+
"activityBar.activeBackground":"#1a1a1a",
1617
"activityBar.activeBorder":"#606020",
1718
"activityBar.foreground":"#e7e7e7",
1819
"activityBar.inactiveForeground":"#e7e7e799",

‎web-app/src/containers/Tutorial/LevelPage/Level.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ const Level = ({ level, onContinue, onLoadSolution, processes, testStatus }: Pro
9696
pageBottomRef.current.scrollIntoView({behavior:'smooth'})
9797
}
9898
//@ts-ignore
99-
constcurrentStep=level.steps.findIndex(s=>s.status==='ACTIVE')
99+
letcurrentStep=level.steps.findIndex(s=>s.status==='ACTIVE')
100+
if(currentStep===-1){
101+
currentStep=level.steps.length
102+
}
100103
React.useEffect(scrollToBottom,[currentStep])
101104

102105
return(

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp