Skip to content

Commit

Permalink
Merge pull request #60 from ProjectMirador/36-line-weight
Browse files Browse the repository at this point in the history
  • Loading branch information
camillevilla authored Jan 4, 2022
2 parents f2edc12 + 5f9ca6e commit 21f92f5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/AnnotationCreation.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,15 @@ class AnnotationCreation extends Component {
>
<Paper>
<ClickAwayListener onClickAway={this.handleCloseLineWeight}>
<MenuList>
<MenuList autoFocus role="listbox">
{[1, 3, 5, 10, 50].map((option, index) => (
<MenuItem
key={option}
onClick={this.handleLineWeightSelect}
value={option}
selected={option == strokeWidth}
role="option"
aria-selected={option == strokeWidth}
>
{option}
</MenuItem>
Expand Down

0 comments on commit 21f92f5

Please sign in to comment.