Skip to content

Commit

Permalink
fix(App): fix result mode toolspane visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
hatemhosny committed Jan 27, 2024
1 parent 144853a commit cd1861a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/livecodes/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ const showMode = (mode?: Config['mode']) => {
editorTools.style.display = 'none';
}
if (mode === 'result') {
if (!['full', 'open', 'closed'].includes(toolsPane?.getStatus() || '')) {
if (!['full', 'open'].includes(toolsPane?.getStatus() || '')) {
toolsPane?.hide();
}
}
Expand Down

0 comments on commit cd1861a

Please sign in to comment.