ui: assist console size and init fixes

This commit is contained in:
nick-delirium 2024-09-25 16:07:15 +02:00
parent e5fd1b235e
commit 246d186816
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
2 changed files with 2 additions and 3 deletions

View file

@ -83,9 +83,8 @@ function Player(props: IProps) {
<div
onMouseDown={handleResize}
className={'w-full h-2 cursor-ns-resize absolute top-0 left-0 z-20'}
>
/>
<ConsolePanel isLive />
</div>
</div>
) : null}
{!fullView && !isMultiview ? <LiveControls jump={playerContext.player.jump} /> : null}

View file

@ -117,7 +117,7 @@ function ConsolePanel({
exceptionsList = [],
logListNow = [],
exceptionsListNow = [],
} = tabStates[currentTab];
} = tabStates[currentTab] ?? {};
const list = isLive
? (useMemo(