Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Simon committed Jul 11, 2020
1 parent 1147be5 commit d7d9f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenSeadragonAnnotator.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default class OpenSeadragonAnnotator extends Component {
onCancel={this.onCancelAnnotation}>

<Editor.CommentWidget />
<TagWidget vocabulary={config.tagVocabulary} />
<Editor.TagWidget vocabulary={this.props.tagVocabulary} />

</Editor>
)
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class OSDAnnotorious {
viewer={viewer}
wrapperEl={viewerEl}
readOnly={config.readOnly}
tagVocabulary={config.tagVocabulary}
onAnnotationSelected={this.handleAnnotationSelected}
onAnnotationCreated={this.handleAnnotationCreated}
onAnnotationUpdated={this.handleAnnotationUpdated}
Expand Down

0 comments on commit d7d9f6a

Please sign in to comment.