Skip to content

Commit

Permalink
I think this code was not supposed to be here
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Feb 5, 2019
1 parent b87d568 commit b2e5f60
Showing 1 changed file with 7 additions and 16 deletions.
Expand Up @@ -86,22 +86,13 @@ export class ScreenCapturePanelContent extends Component<Props, State> {
const el = document.querySelector('[data-shared-items-container]');
const bounds = el ? el.getBoundingClientRect() : { height: 768, width: 1024 };

if (this.props.reportType === 'png') {
return {
dimensions: {
height: bounds.height,
width: bounds.width,
},
};
} else {
return {
id: 'preserve_layout',
dimensions: {
height: bounds.height,
width: bounds.width,
},
};
}
return {
id: 'preserve_layout',
dimensions: {
height: bounds.height,
width: bounds.width,
},
};
};

private getJobParams = () => {
Expand Down

0 comments on commit b2e5f60

Please sign in to comment.