Skip to content

Commit

Permalink
Replace legacy ol.inherits call with equivalent native code
Browse files Browse the repository at this point in the history
  • Loading branch information
werrolf committed Oct 8, 2020
1 parent a11c290 commit d295747
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions selectableModify.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@

ol.inherits(ol.interaction.SelectableModify, ol.interaction.Modify);

ol.interaction.SelectableModify.prototype = Object.create(ol.interaction.Modify.prototype);
ol.interaction.SelectableModify.constructor = ol.interaction.SelectableModify;

ol.interaction.SelectableModify.prototype.setActive = function (active) {
this.select_.setActive(active);
Expand Down

0 comments on commit d295747

Please sign in to comment.