Skip to content

Commit

Permalink
image for world intro
Browse files Browse the repository at this point in the history
  • Loading branch information
joneugster committed Jun 10, 2024
1 parent 02d0d57 commit 096bd55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/components/game.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function Game() {
{<>
<ChatPanel visible={worldId ? (levelId == 0 && page == 1) :(page == 0)} />
{ worldId ?
(levelId > 0 && <LevelWrapper visible={page == 1} />) :
<LevelWrapper visible={page == 1} /> :
<WorldTreePanel visible={page == 1} />
}
<InventoryPanel visible={page == 2} />
Expand All @@ -113,7 +113,7 @@ function Game() {
<ChatPanel />
<div className="column">
{/* Note: apparently without this `div` the split panel bugs out. */}
{worldId ? (levelId > 0 && <LevelWrapper />) : <WorldTreePanel /> }
{worldId ? <LevelWrapper /> : <WorldTreePanel /> }
</div>
<InventoryPanel />
</Split>
Expand Down
1 change: 0 additions & 1 deletion client/src/components/level.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import { ChatContext, InputModeContext, PreferencesContext, MonacoEditorContext,
ProofContext, PageContext } from './infoview/context'
import { DualEditor, ExerciseStatement } from './infoview/main'
import { GameHint, InteractiveGoalsWithHints, ProofState } from './infoview/rpc_api'
import { DeletedHints, Hints, MoreHelpButton } from './hints'
import path from 'path';

import '@fontsource/roboto/300.css'
Expand Down

0 comments on commit 096bd55

Please sign in to comment.