Commit dc6e7213 authored by Stu Fisher's avatar Stu Fisher

add tooltip for profiles

parent 4f0f4f94
......@@ -180,6 +180,10 @@ class Video extends React.Component {
<Tooltip id="tooltip">Click here to change the image scaling</Tooltip>
);
const profiles = (
<Tooltip id="tooltip">Click here to show / hide image profiles</Tooltip>
);
const ready = this.props.acqStatus == 'Ready';
return (
......@@ -232,7 +236,9 @@ class Video extends React.Component {
</OverlayTrigger>
</ButtonGroup>
<Button onClick={this.toggleHideProfile.bind(this)} variant={this.props.profileSize.x?'primary':'secondary'}>Profiles</Button>
<OverlayTrigger placement="top" overlay={profiles}>
<Button onClick={this.toggleHideProfile.bind(this)} variant={this.props.profileSize.x?'primary':'secondary'}>Profiles</Button>
</OverlayTrigger>
</Col>
</Row>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment