I think this code was not supposed to be here

This commit is contained in:
Timothy Sullivan 2019-02-04 18:21:46 -07:00
parent b87d5687d7
commit b2e5f60afb

View file

@ -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 = () => {