Skip to content
Snippets Groups Projects
Unverified Commit 21f92f50 authored by Camille Villa's avatar Camille Villa Committed by GitHub
Browse files

Merge pull request #60 from ProjectMirador/36-line-weight

parents f2edc12a 5f9ca6ef
No related branches found
No related tags found
No related merge requests found
...@@ -379,12 +379,15 @@ class AnnotationCreation extends Component { ...@@ -379,12 +379,15 @@ class AnnotationCreation extends Component {
> >
<Paper> <Paper>
<ClickAwayListener onClickAway={this.handleCloseLineWeight}> <ClickAwayListener onClickAway={this.handleCloseLineWeight}>
<MenuList> <MenuList autoFocus role="listbox">
{[1, 3, 5, 10, 50].map((option, index) => ( {[1, 3, 5, 10, 50].map((option, index) => (
<MenuItem <MenuItem
key={option} key={option}
onClick={this.handleLineWeightSelect} onClick={this.handleLineWeightSelect}
value={option} value={option}
selected={option == strokeWidth}
role="option"
aria-selected={option == strokeWidth}
> >
{option} {option}
</MenuItem> </MenuItem>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment