Skip to content

Commit

Permalink
disableSelect now an init option
Browse files Browse the repository at this point in the history
  • Loading branch information
Rainer Simon committed Aug 16, 2021
1 parent 359d563 commit d34d9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OSDAnnotationLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class AnnotationLayer extends EventEmitter {
this.headless = props.config.headless;
this.formatter = props.config.formatter;

this.disableSelect = false;
this.disableSelect = props.disableSelect;

this.svg = document.createElementNS(SVG_NAMESPACE, 'svg');

Expand Down

0 comments on commit d34d9ba

Please sign in to comment.