Skip to content

Commit

Permalink
fix(frontend/presenter): check controller is open before hiding displ…
Browse files Browse the repository at this point in the history
…ay in fullscreen mode
  • Loading branch information
Harjot1Singh committed Jul 12, 2020
1 parent 8dfa06e commit 6ab8ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/frontend/src/Presenter/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Presenter = () => {


<Suspense fallback={<Loader />}>
{!controllerOnly && <Display settings={localSettings} />}
{!( isControllerOpen && controllerOnly ) && <Display settings={localSettings} />}
</Suspense>

<div className={classNames( 'controller-container', { fullscreen: controllerOnly } )}>
Expand Down

0 comments on commit 6ab8ccf

Please sign in to comment.