Skip to content

Commit

Permalink
Merge pull request #11319 from ramonlsouza/fullscreen-polling-buttons
Browse files Browse the repository at this point in the history
Display polling buttons on fullscreen presentation
  • Loading branch information
antobinary committed Feb 9, 2021
2 parents 7ba2422 + 319a620 commit 74d34e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bigbluebutton-html5/imports/ui/components/app/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class App extends Component {

render() {
const {
customStyle, customStyleUrl, openPanel,
customStyle, customStyleUrl, openPanel, layoutContextState
} = this.props;
return (
<main className={styles.main}>
Expand All @@ -362,7 +362,7 @@ class App extends Component {
</section>
<UploaderContainer />
<BreakoutRoomInvitation />
<PollingContainer />
{!layoutContextState.presentationIsFullscreen && <PollingContainer />}
<ModalContainer />
<AudioContainer />
<ToastContainer rtl />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import FullscreenButtonContainer from '../fullscreen-button/container';
import { withDraggableConsumer } from '../media/webcam-draggable-overlay/context';
import Icon from '/imports/ui/components/icon/component';
import { withLayoutConsumer } from '/imports/ui/components/layout/context';
import PollingContainer from '/imports/ui/components/polling/container';

const intlMessages = defineMessages({
presentationLabel: {
Expand Down Expand Up @@ -781,6 +782,7 @@ class PresentationArea extends PureComponent {
showSlide,
// fitToWidth,
// presentationAreaWidth,
isFullscreen,
localPosition,
} = this.state;

Expand Down Expand Up @@ -819,6 +821,8 @@ class PresentationArea extends PureComponent {
ref={(ref) => { this.refPresentationContainer = ref; }}
className={styles.presentationContainer}
>
{isFullscreen && <PollingContainer />}

<div
ref={(ref) => { this.refPresentationArea = ref; }}
className={styles.presentationArea}
Expand Down

0 comments on commit 74d34e1

Please sign in to comment.