image for world intro

This commit is contained in:
Jon Eugster
2024-06-11 01:10:40 +02:00
parent 02d0d57453
commit 096bd55f9b
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -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} />
@@ -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>
-1
View File
@@ -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'