Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Commit

Permalink
Add tooltips to crop buttons (#4016)
Browse files Browse the repository at this point in the history
  • Loading branch information
nihakhanna authored and jaredhirsch committed Jan 25, 2018
1 parent e18e499 commit 31bbfb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions locales/en-US/server.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,9 @@ annotationCropButton
annotationSaveButton = Save
annotationCancelButton = Cancel
annotationConfirmCropButton = Confirm
.title = Confirm selection
annotationCancelCropButton = Cancel
.title = Cancel selection
[[ Shotindex page ]]

Expand Down
4 changes: 2 additions & 2 deletions server/src/pages/shot/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,10 @@ exports.Editor = class Editor extends React.Component {
this.setState({tool: 'crop'});
this.cropToolBar = <div className="editor-header default-color-scheme"><div className="annotation-tools">
<Localized id="annotationConfirmCropButton">
<button className={`button transparent confirm-crop`} id="confirm-crop" onClick={this.onClickConfirmCrop.bind(this)}>Crop</button>
<button className={`button transparent confirm-crop`} id="confirm-crop" onClick={this.onClickConfirmCrop.bind(this)} title="Confirm selection">Crop</button>
</Localized>
<Localized id="annotationCancelCropButton">
<button className={`button transparent cancel-crop`} id="cancel-crop" onClick={this.onClickCancelCrop.bind(this)}>Cancel</button>
<button className={`button transparent cancel-crop`} id="cancel-crop" onClick={this.onClickCancelCrop.bind(this)} title="Cancel selection">Cancel</button>
</Localized>
</div></div>;
}
Expand Down

0 comments on commit 31bbfb4

Please sign in to comment.