Skip to content

Commit

Permalink
fix: issue #183
Browse files Browse the repository at this point in the history
  • Loading branch information
yotamberk committed Dec 28, 2019
1 parent c38a816 commit fdc2891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/timeline/component/Group.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class Group {
};
this.checkRangedItems = false; // needed to refresh the ranged items if the window is programatically changed with NO overlap.
const me = this;
this.itemSet.body.emitter.off("checkRangedItems") // prevent setGroup and setData from recreating this emitter
this.itemSet.body.emitter.on("checkRangedItems", () => {
me.checkRangedItems = true;
})
Expand Down

0 comments on commit fdc2891

Please sign in to comment.