Only show snapshot button when apps are maximised.

pull/21833/head
Richard Lewis 2017-12-19 17:16:38 +00:00
parent 08bcfc5c4e
commit baf472b4a3
1 changed files with 2 additions and 2 deletions

View File

@ -484,8 +484,8 @@ export default React.createClass({
deleteClasses += ' mx_AppTileMenuBarWidgetDelete';
}
// Picture snapshot
const showPictureSnapshotButton = this._hasCapability('screenshot');
// Picture snapshot - only show button when apps are maximised.
const showPictureSnapshotButton = this._hasCapability('screenshot') && this.props.show;
const showPictureSnapshotIcon = 'img/camera_green.svg';
const windowStateIcon = (this.props.show ? 'img/minimize.svg' : 'img/maximize.svg');